[GRASS-SVN] r57005 - grass/branches/releasebranch_6_4/scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 3 14:01:29 PDT 2013


Author: hamish
Date: 2013-07-03 14:01:29 -0700 (Wed, 03 Jul 2013)
New Revision: 57005

Modified:
   grass/branches/releasebranch_6_4/scripts/g.extension/g.extension
Log:
minimal fix for -s and -u flags being ignored

Modified: grass/branches/releasebranch_6_4/scripts/g.extension/g.extension
===================================================================
--- grass/branches/releasebranch_6_4/scripts/g.extension/g.extension	2013-07-03 20:58:02 UTC (rev 57004)
+++ grass/branches/releasebranch_6_4/scripts/g.extension/g.extension	2013-07-03 21:01:29 UTC (rev 57005)
@@ -220,7 +220,9 @@
 	GRASS_ADDON_PATH1=`echo "$GRASS_ADDON_PATH" | cut -f1 -d:`
     fi
     PREFIX="$GRASS_ADDON_PATH1"
-elif [ "$PREFIX" = '$GISBASE' ] || [ $GIS_FLAG_S -eq 1 ] || [ $GIS_FLAG_U -eq 1 ] ; then
+fi
+
+if [ "$PREFIX" = '$GISBASE' ] || [ $GIS_FLAG_S -eq 1 ] || [ $GIS_FLAG_U -eq 1 ] ; then
    SYSADMIN=1
    PREFIX="$GISBASE"
 



More information about the grass-commit mailing list