From 8f6bfa045b93231a81821ef49222168b223d31e2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 25 Jul 2018 15:11:04 +0100 Subject: [PATCH] dgit: Move WANTSRC_* definitions up the file We are going to want these a bit earlier. NFC. Signed-off-by: Ian Jackson --- dgit | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dgit b/dgit index 274f73aa..56f1605e 100755 --- a/dgit +++ b/dgit @@ -6108,6 +6108,10 @@ sub cmd_clean () { maybe_unapply_patches_again(); } +# return values from massage_dbp_args are one or both of these flags +sub WANTSRC_SOURCE () { 01; } # caller should build source (separately) +sub WANTSRC_BUILDER () { 02; } # caller should run dpkg-buildpackage + sub build_or_push_prep_early () { our $build_or_push_prep_early_done //= 0; return if $build_or_push_prep_early_done++; @@ -6183,10 +6187,6 @@ sub changesopts () { return (changesopts_initial(), changesopts_version()); } -# return values from massage_dbp_args are one or both of these flags -sub WANTSRC_SOURCE () { 01; } # caller should build source (separately) -sub WANTSRC_BUILDER () { 02; } # caller should run dpkg-buildpackage - sub massage_dbp_args ($;$) { my ($cmd,$xargs) = @_; # We need to: -- 2.30.2