[GRASS-SVN] r50448 - grass/branches/releasebranch_6_4/mswindows/osgeo4w

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


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

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

Modified: grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh	2012-01-25 15:01:07 UTC (rev 50447)
+++ grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh	2012-01-25 17:20:15 UTC (rev 50448)
@@ -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