summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Skinner <aidan@apache.org>2009-07-01 12:26:58 +0000
committerAidan Skinner <aidan@apache.org>2009-07-01 12:26:58 +0000
commita20676e68b1b27a5a40bba56311f82db32e6d07b (patch)
tree12e1e846eb506f461efcb15575b66dab3ded0d00
parent82091ce825923252d7a224ebf771be61e8dd15a2 (diff)
downloadqpid-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-xbin/release.sh10
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