summaryrefslogtreecommitdiff
path: root/test/review
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-11-13 16:10:35 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-11-13 16:10:35 +0000
commit92c280f6d1116a551b805543a216eb01ab94c8cf (patch)
treefe511596d3677854b29681cfd4387da590b85515 /test/review
parent4cc65f6e0d8d3e1d26d36740dbcacb4e41c9f363 (diff)
downloadscala-92c280f6d1116a551b805543a216eb01ab94c8cf.tar.gz
scala-92c280f6d1116a551b805543a216eb01ab94c8cf.tar.bz2
scala-92c280f6d1116a551b805543a216eb01ab94c8cf.zip
updates to review script
Diffstat (limited to 'test/review')
-rwxr-xr-xtest/review4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/review b/test/review
index 3e61427724..c727db6ac6 100755
--- a/test/review
+++ b/test/review
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ -z $1 ] || [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ "$1" == "-help" ] || [ "$1" == "-?" ]; then
+if [ -z $1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "-help" ] || [ "$1" = "-?" ]; then
echo "Usage: `basename $0` [rev] [args]\n"
echo " [rev] : either the revision number without leading 'r' (post-commit),"
echo " or '-loc' to create a review from current local changes (pre-commit)\n"
@@ -11,7 +11,7 @@ fi
POSTREVIEW=`dirname $0`/postreview.py
-if [ "$1" == "-loc" ]; then
+if [ "$1" = "-loc" ]; then
echo "creating review request from local changes..."
REVARG=""
LOG=""