diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-11-13 16:10:35 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-11-13 16:10:35 +0000 |
commit | 92c280f6d1116a551b805543a216eb01ab94c8cf (patch) | |
tree | fe511596d3677854b29681cfd4387da590b85515 /test/review | |
parent | 4cc65f6e0d8d3e1d26d36740dbcacb4e41c9f363 (diff) | |
download | scala-92c280f6d1116a551b805543a216eb01ab94c8cf.tar.gz scala-92c280f6d1116a551b805543a216eb01ab94c8cf.tar.bz2 scala-92c280f6d1116a551b805543a216eb01ab94c8cf.zip |
updates to review script
Diffstat (limited to 'test/review')
-rwxr-xr-x | test/review | 4 |
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="" |