summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-24 18:44:49 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-08-24 18:44:49 +0100
commitdc3ada23508f1c40692e15fcb0cf5e06fd541104 (patch)
treeedd46d17c9e1c8ee08677debdb2adca210cf943e /dgit
parentfddfa627cb0ced08188eec1711039e4614a16de7 (diff)
`3.0 (quilt)' fixup creates .pc/applied-patches since modern dpkg-source creates it even though old ones didn't always.
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit7
1 files changed, 7 insertions, 0 deletions
diff --git a/dgit b/dgit
index c0c7b8d..3f9dd97 100755
--- a/dgit
+++ b/dgit
@@ -1016,6 +1016,13 @@ END
local $ENV{$fakeeditorenv} = cmdoutput qw(realpath --), $descfn;
runcmd_ordryrun @dpkgsource, qw(--commit .), $patchname;
}
+
+ if (!open P, '>', ".pc/applied-patches") {
+ $!==&ENOENT or die $!;
+ } else {
+ close P;
+ }
+
commit_quilty_patch();
}