chiark / gitweb /
changelog: finalise 2.12
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 992d2dad4efcc70f1c3dad292c1ee5e12da129f9..1502ddff922109ec771f25eecf09f3648b0bb57d 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -2383,11 +2383,12 @@ END
                die "only absurd git-apply!\n" if !$use_absurd
                    && forceing [qw(import-gitapply-absurd)];
 
-               local $ENV{PATH} = $path if $use_absurd;
+               local $ENV{DGIT_ABSURD_DEBUG} = $debuglevel if $use_absurd;
+               local $ENV{PATH} = $path                    if $use_absurd;
 
                my @showcmd = (gbp_pq, qw(import));
                my @realcmd = shell_cmd
-                   'exec >/dev/null 2>../../gbp-pq-output', @showcmd;
+                   'exec >/dev/null 2>>../../gbp-pq-output', @showcmd;
                debugcmd "+",@realcmd;
                if (system @realcmd) {
                    die +(shellquote @showcmd).