summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit8
1 files changed, 4 insertions, 4 deletions
diff --git a/dgit b/dgit
index ad460d1..21cbd56 100755
--- a/dgit
+++ b/dgit
@@ -2944,8 +2944,8 @@ sub changesopts () {
return (changesopts_initial(), changesopts_version());
}
-sub massage_dbp_args ($) {
- my ($cmd) = @_;
+sub massage_dbp_args ($;$) {
+ my ($cmd,$xargs) = @_;
if ($cleanmode eq 'dpkg-source') {
$suppress_clean = 1;
return;
@@ -2956,7 +2956,7 @@ sub massage_dbp_args ($) {
push @newcmd, '-nc';
# and some combinations of -S, -b, et al, are errors, rather than
# later simply overriding earlier
- push @newcmd, '-F' unless grep { m/^-[bBASF]$/ } @$cmd;
+ push @newcmd, '-F' unless grep { m/^-[bBASF]$/ } (@$cmd, @$xargs);
push @newcmd, @$cmd;
@$cmd = @newcmd;
}
@@ -2972,7 +2972,7 @@ sub cmd_build {
sub cmd_gbp_build {
my @dbp = @dpkgbuildpackage;
- massage_dbp_args \@dbp;
+ massage_dbp_args \@dbp, \@ARGV;
my @cmd =
(qw(git-buildpackage -us -uc --git-no-sign-tags),
"--git-builder=@dbp");