summaryrefslogtreecommitdiff
path: root/test/review
diff options
context:
space:
mode:
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=""