chiark / gitweb /
canonicalise suite
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Aug 2013 15:55:54 +0000 (16:55 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 17 Aug 2013 15:55:54 +0000 (16:55 +0100)
dgit

diff --git a/dgit b/dgit
index 6d7e574..b185124 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -734,6 +734,7 @@ sub cmd_build {
     my $clogp = parsechangelog();
     $suite = $clogp->{Distribution};
     $package = $clogp->{Source};
+    canonicalise_suite() unless grep { m/^--git-debian-branch/ } @ARGV;
     runcmd_ordryrun
        qw(git-buildpackage -us -uc --git-no-sign-tags),
        '--git-builder=dpkg-buildpackage -i\.git/ -I.git',