From b4adde108b83933d435bf2a494413c9c9deaa23a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 7 Jan 2017 17:30:13 +0000 Subject: 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 --- dgit | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dgit') 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(); } -- cgit v1.2.3