From: Mark Huang Date: Wed, 26 May 2004 18:44:50 +0000 (+0000) Subject: - exit after printing usage info X-Git-Tag: network-telescope-test-branch-point~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4d95eed51b16c210e50923880932d0e5ecce0039;p=build.git - exit after printing usage info --- diff --git a/build.sh b/build.sh index 0cee85df..b047acd3 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ # crontabs to build nightly releases (default). Can also be invoked # manually to build a tagged release (-r) in the current directory. # -# $Id: build.sh,v 1.1 2004/05/21 18:29:33 mlh-pl_rpm Exp $ +# $Id: build.sh,v 1.2 2004/05/21 18:34:10 mlh-pl_rpm Exp $ # # Set defaults @@ -24,6 +24,7 @@ while getopts "d:r:" opt ; do ;; *) echo "usage: `basename $0` [-d $CVSROOT] [-r $TAG]" + exit 1 ;; esac done