bin/mdw-build: `nocommit' isn't a special case.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 15 Jan 2016 22:39:21 +0000 (22:39 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 15 Jan 2016 22:39:21 +0000 (22:39 +0000)
Fold handling for it in with the rest of the `no*' options.

bin/mdw-build

index 9717a20..1f73bcb 100755 (executable)
@@ -98,14 +98,14 @@ for opt; do
   case "$opt" in
     checkout)  checkout=yes checkoutrev=HEAD ;;
     checkout=*) checkout=yes checkoutrev=${opt#*=} ;;
-    nocheckout) checkout=no ;;
     release)   build=release ;;
     norelease) build=test ;;
 
     setup | distcheck | debian | upload | clean | vpath)
       eval "$opt=yes"
       ;;
-    nosetup | nodistcheck | nodebian | noupload | noclean | novpath)
+    nocheckout | nosetup | nodistcheck | nodebian | \
+    noupload | noclean | novpath)
       eval "${opt#no}=no"
       ;;
     *)