chiark / gitweb /
dgit: Option parsing: Provide call to build_prep_early in build_source
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Jan 2017 18:15:13 +0000 (18:15 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2017 22:14:26 +0000 (22:14 +0000)
This means $isuite is set a bit earlier, etc.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index 0cac521012390f042ff7ccc8a392d224b17c7c82..d2da0f13c71c13186a9016b1d729715f3b214f45 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -5729,6 +5729,7 @@ sub cmd_gbp_build {
 sub cmd_git_build { cmd_gbp_build(); } # compatibility with <= 1.0
 
 sub build_source {
+    build_prep_early();
     my $our_cleanmode = $cleanmode;
     if ($need_split_build_invocation) {
        # Pretend that clean is being done some other way.  This