summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-12-10 21:41:21 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-12-10 22:22:16 +0000
commit3a8ba9d4034e46a8056d6825285d0e14f46f4f32 (patch)
treecd7133eb1ca6c4d1c1e34676b7c2d53c262e8e7a /dgit
parent317215a97a4ec01422c96675c24df864d29a7595 (diff)
dgit: dpkg-source invocation: Move "--" into if arms
This will allow the arms to add options. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit6
1 files changed, 3 insertions, 3 deletions
diff --git a/dgit b/dgit
index 9acffa6..f5eb61e 100755
--- a/dgit
+++ b/dgit
@@ -7116,7 +7116,7 @@ sub build_source {
}
# confess unless !!$made_split_brain == do_split_brain();
- my @cmd = (@dpkgsource, qw(-b --include-removal --));
+ my @cmd = (@dpkgsource, qw(-b --include-removal));
my $leafdir;
if (building_source_in_playtree()) {
$leafdir = 'work';
@@ -7132,7 +7132,7 @@ sub build_source {
unpack_playtree_need_cd_work($headref);
changedir '..';
}
- runcmd @cmd, $leafdir;
+ runcmd @cmd, qw(--), $leafdir;
} else {
$leafdir = basename $maindir;
@@ -7154,7 +7154,7 @@ sub build_source {
}
changedir '..';
- runcmd_ordryrun_local @cmd, $leafdir;
+ runcmd_ordryrun_local @cmd, qw(--), $leafdir;
}
changedir $leafdir;