chiark / gitweb /
With dgit sbuild, pass our -d before the user's arguments, so that the user can overr...
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 7b62a66f3a1279f4710fae3e9f5db1e1e77c35b6..7b447dedaf3db59f1778918c9f6204e81db5266e 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$/)