From dc3ada23508f1c40692e15fcb0cf5e06fd541104 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 24 Aug 2013 18:44:49 +0100 Subject: `3.0 (quilt)' fixup creates .pc/applied-patches since modern dpkg-source creates it even though old ones didn't always. --- dgit | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dgit') 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(); } -- cgit v1.2.3