diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-07 17:30:13 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-08 22:14:26 +0000 |
commit | b4adde108b83933d435bf2a494413c9c9deaa23a (patch) | |
tree | a11893432144b6b5d443075b13e21cffc9d1d285 /dgit | |
parent | ac92d3b15e0baf0d1634efc86c8919acb44bafa6 (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-x | dgit | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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(); } |