summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-07 17:30:13 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-08 22:14:26 +0000
commitb4adde108b83933d435bf2a494413c9c9deaa23a (patch)
treea11893432144b6b5d443075b13e21cffc9d1d285 /dgit
parentac92d3b15e0baf0d1634efc86c8919acb44bafa6 (diff)
dgit: Option parsing: quilt-fixup: Use build_prep_early
This means $isuite is set early enough. As a side-effect, we correctly reject -p. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit5
1 files changed, 1 insertions, 4 deletions
diff --git a/dgit b/dgit
index 7c28253..0cac521 100755
--- a/dgit
+++ b/dgit
@@ -5817,10 +5817,7 @@ END
sub cmd_quilt_fixup {
badusage "incorrect arguments to dgit quilt-fixup" if @ARGV;
- my $clogp = parsechangelog();
- $version = getfield $clogp, 'Version';
- $package = getfield $clogp, 'Source';
- check_not_dirty();
+ build_prep_early();
clean_tree();
build_maybe_quilt_fixup();
}