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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 25 11:42:17 PST 2015


Author: martinl
Date: 2015-02-25 11:42:17 -0800 (Wed, 25 Feb 2015)
New Revision: 64745

Modified:
   grass-addons/tools/addons/grass-addons-public.sh
   grass-addons/tools/addons/grass-addons.sh
Log:
addons support script cosmetics

Modified: grass-addons/tools/addons/grass-addons-public.sh
===================================================================
--- grass-addons/tools/addons/grass-addons-public.sh	2015-02-25 19:18:03 UTC (rev 64744)
+++ grass-addons/tools/addons/grass-addons-public.sh	2015-02-25 19:42:17 UTC (rev 64745)
@@ -13,7 +13,7 @@
     exit 0
 fi
 
-${SRC}/grass-addons/tools/addons/grass-addons.sh
+${SRC}/grass-addons/tools/addons/grass-addons.sh "$1"
 
 if [ $? != 0 ] ; then
     exit 0

Modified: grass-addons/tools/addons/grass-addons.sh
===================================================================
--- grass-addons/tools/addons/grass-addons.sh	2015-02-25 19:18:03 UTC (rev 64744)
+++ grass-addons/tools/addons/grass-addons.sh	2015-02-25 19:42:17 UTC (rev 64745)
@@ -40,6 +40,9 @@
 	$DIR/configures.sh grass$num >/dev/null 2>&1
 	make >/dev/null 2>&1
         cat error.log 1>&2
+        if [ "$?" != 0 ]; then
+            exit 1
+        fi
 	cd ..
     done
 }



More information about the grass-commit mailing list