[GRASS-SVN] r48819 - grass-addons/tools/wingrass-packager

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 15 15:49:05 EDT 2011


Author: martinl
Date: 2011-10-15 12:49:04 -0700 (Sat, 15 Oct 2011)
New Revision: 48819

Modified:
   grass-addons/tools/wingrass-packager/grass_osgeo4w.sh
Log:
winGRASS: minor fix in grass_osgeo4w (copying osgeo4w package)

Modified: grass-addons/tools/wingrass-packager/grass_osgeo4w.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_osgeo4w.sh	2011-10-15 19:45:18 UTC (rev 48818)
+++ grass-addons/tools/wingrass-packager/grass_osgeo4w.sh	2011-10-15 19:49:04 UTC (rev 48819)
@@ -5,7 +5,7 @@
 
 function rsync_package {
     dir=$HOME/grass$1/osgeo4w/package
-    curr=`ls -t $dir/ 2>/dev/null | head -n1 | cut -d'-' -f3 | cut -d'.' -f1`
+    curr=`ls -t $dir/ 2>/dev/null | head -n1 | cut -d'-' -f4 | cut -d'.' -f1`
     if [ $? -eq 0 ]; then
 	package=$curr
     else



More information about the grass-commit mailing list