Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
pwd=`pwd`
patch=${patch#$pwd/debian/patches/}
pwd=`pwd`
patch=${patch#$pwd/debian/patches/}
+rm -f debian/patches/series
printf "%s\n" "$patch" >debian/patches/series
dpkg-source --before-build .
printf "%s\n" "$patch" >debian/patches/series
dpkg-source --before-build .
dgit (2.8~) unstable; urgency=low
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.