chiark / gitweb /
With dgit sbuild, pass our -d before the user's arguments, so that the user can overr...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 21 Aug 2015 16:36:25 +0000 (17:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 21 Aug 2015 16:36:25 +0000 (17:36 +0100)
debian/changelog
dgit

index f9308c5..e09cfbb 100644 (file)
@@ -18,6 +18,8 @@ dgit (1.4~~) UNRELEASED; urgency=low
   * Cope properly with `3.0 (quilt)' with single-debian-patch.
     Closes:#796016.  (Still does not work with wheezy's dpkg-source, so
     no test case yet.)
+  * With dgit sbuild, pass our -d before the user's arguments, so that
+    the user can override it.  Closes:#796019.
 
  --
 
diff --git a/dgit b/dgit
index 7b62a66..7b447de 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -3139,7 +3139,7 @@ sub cmd_sbuild {
            unlink $cf or fail "remove $cf: $!";
        }
     }
-    runcmd_ordryrun_local @sbuild, @ARGV, qw(-d), $isuite, $dscfn;
+    runcmd_ordryrun_local @sbuild, qw(-d), $isuite, @ARGV, $dscfn;
     my @changesfiles = glob $pat;
     @changesfiles = sort {
        ($b =~ m/_source\.changes$/ <=> $a =~ m/_source\.changes$/)