[GRASS-SVN] r50449 - grass/branches/develbranch_6/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 25 12:20:44 EST 2012


Author: martinl
Date: 2012-01-25 09:20:44 -0800 (Wed, 25 Jan 2012)
New Revision: 50449

Modified:
   grass/branches/develbranch_6/mswindows/osgeo4w/package.sh
Log:
winGRASS: fix GRASS_EXECUTABLE

Modified: grass/branches/develbranch_6/mswindows/osgeo4w/package.sh
===================================================================
--- grass/branches/develbranch_6/mswindows/osgeo4w/package.sh	2012-01-25 17:20:15 UTC (rev 50448)
+++ grass/branches/develbranch_6/mswindows/osgeo4w/package.sh	2012-01-25 17:20:44 UTC (rev 50449)
@@ -67,7 +67,7 @@
 
 export VERSION=$MAJOR.$MINOR.$PATCH
 
-if [ "$PATCH" == "svn" ]; then
+if [[ "$PATCH" == *svn* ]] ; then
     GRASS_EXECUTABLE=grass${MAJOR}${MINOR}svn
 else
     GRASS_EXECUTABLE=grass${MAJOR}${MINOR}



More information about the grass-commit mailing list