summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabsurd/git1
-rw-r--r--debian/changelog3
2 files changed, 3 insertions, 1 deletions
diff --git a/absurd/git b/absurd/git
index 039bbf0..b78ec3b 100755
--- a/absurd/git
+++ b/absurd/git
@@ -58,6 +58,7 @@ fi
pwd=`pwd`
patch=${patch#$pwd/debian/patches/}
+rm -f debian/patches/series
printf "%s\n" "$patch" >debian/patches/series
dpkg-source --before-build .
diff --git a/debian/changelog b/debian/changelog
index f093fc5..14fbbeb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
dgit (2.8~) unstable; urgency=low
- *
+ * absurd git-apply fallback: defend against debian/patches/series
+ being an unusual object, in case dpkg-source doesn't.
--