[GRASS-SVN] r70913 - grass-addons/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 22 00:16:26 PDT 2017


Author: lucadelu
Date: 2017-04-22 00:16:26 -0700 (Sat, 22 Apr 2017)
New Revision: 70913

Modified:
   grass-addons/tools/transifex_merge.sh
Log:
transifex_merge: added if control for folder presence

Modified: grass-addons/tools/transifex_merge.sh
===================================================================
--- grass-addons/tools/transifex_merge.sh	2017-04-22 03:42:25 UTC (rev 70912)
+++ grass-addons/tools/transifex_merge.sh	2017-04-22 07:16:26 UTC (rev 70913)
@@ -13,6 +13,11 @@
 
 cd transifex
 
+if [ $? -ne 0 ]; then
+  echo "ECHO: transifex folder not found, you should run this command in locale folder"
+  exit 1;
+fi
+
 tx pull -a
 
 cd ..



More information about the grass-commit mailing list