aboutsummaryrefslogtreecommitdiffstats
path: root/main/project
diff options
context:
space:
mode:
authorPavol Babincak <scroolik@gmail.com>2011-09-29 20:43:15 +0200
committerPavol Babincak <scroolik@gmail.com>2011-09-29 20:43:15 +0200
commitba189f70355ccb252a68c9872a315ea15978b628 (patch)
tree77016867fcff317cb48538e1115fc43a257dc59b /main/project
parent16585e2619b7a1c2aed17f43d7c77fb742be97c9 (diff)
downloadcgeo-ba189f70355ccb252a68c9872a315ea15978b628.zip
cgeo-ba189f70355ccb252a68c9872a315ea15978b628.tar.gz
cgeo-ba189f70355ccb252a68c9872a315ea15978b628.tar.bz2
Use more portable single equals in if
Single equals follows POSIX. In Ubuntu default /bin/sh is Dash, which warns about double equals: $ ./findmissingtranslations.sh sk [: 44: sk: unexpected operator
Diffstat (limited to 'main/project')
-rwxr-xr-xmain/project/localization/findmissingtranslations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/project/localization/findmissingtranslations.sh b/main/project/localization/findmissingtranslations.sh
index cf63590..f91228e 100755
--- a/main/project/localization/findmissingtranslations.sh
+++ b/main/project/localization/findmissingtranslations.sh
@@ -37,7 +37,7 @@ elif [ "$1" != "all" -a ! -f ../../res/values-$1/strings.xml ]; then
usage
fi
-if [ "$1" == "all" ]; then
+if [ "$1" = "all" ]; then
langs=$alllangs
else
langs=$1