chiark / gitweb /
typo fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Aug 2013 15:29:34 +0000 (16:29 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Aug 2013 15:29:34 +0000 (16:29 +0100)
dgit

diff --git a/dgit b/dgit
index 03542c3..3cb4780 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1064,7 +1064,7 @@ sub build_prep () {
 
 sub cmd_build {
     badusage "dgit build implies --clean=dpkg-source"
-       if $clean ne 'dpkg-source';
+       if $cleanmode ne 'dpkg-source';
     build_prep();
     runcmd_ordryrun @dpkgbuildpackage, qw(-us -uc), changesopts(), @ARGV;
     printdone "build successful\n";
@@ -1072,7 +1072,7 @@ sub cmd_build {
 
 sub cmd_git_build {
     badusage "dgit git-build implies --clean=dpkg-source"
-       if $clean ne 'dpkg-source';
+       if $cleanmode ne 'dpkg-source';
     build_prep();
     my @cmd =
        (qw(git-buildpackage -us -uc --git-no-sign-tags),