scripts: equality test '==' is not portable.
[git.git] / git-status-script
index 2b02954..ee8f706 100755 (executable)
@@ -77,9 +77,9 @@ then
 #'
 fi
 
-if [ "$committable" == "0" ]
-then
+case "$committable" in
+0)
        echo "nothing to commit"
        exit 1
-fi
+esac
 exit 0