aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2011-10-09 14:24:48 +0200
committerBananeweizen <bananeweizen@gmx.de>2011-10-09 14:28:25 +0200
commiteca9f1d6f92848a35680e5cd142a309f7743adf8 (patch)
treeb375d211d751858276a71637c120d76304b484a2
parent97164015bdac144a9f9733d0c6b6f53bbd7d328a (diff)
downloadcgeo-eca9f1d6f92848a35680e5cd142a309f7743adf8.zip
cgeo-eca9f1d6f92848a35680e5cd142a309f7743adf8.tar.gz
cgeo-eca9f1d6f92848a35680e5cd142a309f7743adf8.tar.bz2
use equals operator in script (doesn't work otherwise on my Ubuntu
system)
-rwxr-xr-xmain/project/localization/findextratranslations.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/project/localization/findextratranslations.sh b/main/project/localization/findextratranslations.sh
index 4200de6..8e2898d 100755
--- a/main/project/localization/findextratranslations.sh
+++ b/main/project/localization/findextratranslations.sh
@@ -8,9 +8,9 @@ sourcedir=../../src/cgeo/geocaching
sourcefiles=`cd $sourcedir && find . -name '*.java'`
xmlfiles=`echo ../../res/*/*.xml ../../AndroidManifest.xml`
first=true
-if [ x$1 == x-f ]; then
+if [ x$1 = x-f ]; then
remove=true
-elif [ x$1 == x-n ]; then
+elif [ x$1 = x-n ]; then
remove=false
else
echo "Usage: findextratranslations.sh [ -n | -f]" >&2