chiark / gitweb /
dgit: move cmd_sbuild
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 28 Jul 2018 10:18:36 +0000 (18:18 +0800)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 28 Jul 2018 10:18:52 +0000 (18:18 +0800)
No functional change.

Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
dgit

diff --git a/dgit b/dgit
index dfe0d15..6e8b757 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -6478,14 +6478,6 @@ sub cmd_push_source {
     dopush();
 }
 
-sub cmd_sbuild {
-    build_prep_early();
-    binary_builder(\@sbuild, <<END, qw(-d), $isuite, @ARGV, $dscfn);
-perhaps you need to pass -A ?  (sbuild's default is to build only
-arch-specific binaries; dgit 1.4 used to override that.)
-END
-}
-
 sub binary_builder {
     my ($bbuilder, $pbmc_msg, @args) = @_;
     build_prep(WANTSRC_SOURCE);
@@ -6505,6 +6497,14 @@ sub binary_builder {
     };
 }
 
+sub cmd_sbuild {
+    build_prep_early();
+    binary_builder(\@sbuild, <<END, qw(-d), $isuite, @ARGV, $dscfn);
+perhaps you need to pass -A ?  (sbuild's default is to build only
+arch-specific binaries; dgit 1.4 used to override that.)
+END
+}
+
 sub pbuilder ($) {
     my ($pbuilder) = @_;
     build_prep_early();