diff options
author | Aidan Skinner <aidan@apache.org> | 2009-07-01 12:26:58 +0000 |
---|---|---|
committer | Aidan Skinner <aidan@apache.org> | 2009-07-01 12:26:58 +0000 |
commit | a20676e68b1b27a5a40bba56311f82db32e6d07b (patch) | |
tree | 12e1e846eb506f461efcb15575b66dab3ded0d00 | |
parent | 82091ce825923252d7a224ebf771be61e8dd15a2 (diff) | |
download | qpid-python-a20676e68b1b27a5a40bba56311f82db32e6d07b.tar.gz |
QPID-1964 Author: Jan Sarenik <jsarenik@redhat.com>
Make release.sh --help work
Changed order, to not catch and exit by
the less verbose usage string.
Signed-off-by: Aidan Skinner <aidan@apache.org>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790140 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | bin/release.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/release.sh b/bin/release.sh index 482eec5b38..62f5d0de45 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -110,16 +110,16 @@ for arg in $* ; do esac done -if [ -z "$SVN" -o -z "$REV" -o -z "$VER" ]; then - echo "Usage: release.sh <svn-path> <svn-revision> <version>" - exit 1 -fi - if [ -n "${HELP}" ] ; then usage exit 0 fi +if [ -z "$SVN" -o -z "$REV" -o -z "$VER" ]; then + echo "Usage: release.sh <svn-path> <svn-revision> <version>" + exit 1 +fi + echo SVN:$SVN echo REV:$REV echo VER:$VER |