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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 15 15:45:18 EDT 2011


Author: martinl
Date: 2011-10-15 12:45:18 -0700 (Sat, 15 Oct 2011)
New Revision: 48818

Modified:
   grass-addons/tools/wingrass-packager/grass_compile.sh
Log:
winGRASS: provide daily builds also for osgeo4w

Modified: grass-addons/tools/wingrass-packager/grass_compile.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_compile.sh	2011-10-15 19:17:27 UTC (rev 48817)
+++ grass-addons/tools/wingrass-packager/grass_compile.sh	2011-10-15 19:45:18 UTC (rev 48818)
@@ -19,7 +19,7 @@
 function compile {
     cd $SRC/$1
     rm_package_7 
-    curr=`ls -t $PACKAGEDIR/ 2>/dev/null | head -n1 | cut -d'-' -f3 | cut -d'.' -f1`
+    curr=`ls -t $PACKAGEDIR/ 2>/dev/null | head -n1 | cut -d'-' -f4 | cut -d'.' -f1`
     if [ $? -eq 0 ]; then
 	package=$(($curr+1))
     else
@@ -28,15 +28,15 @@
     echo "Compiling $1 ($package)..."
     rm -f mswindows/osgeo4w/configure-stamp
     svn up || (svn cleanup && svn up)
-    ./mswindows/osgeo4w/package.sh $package
+    ./mswindows/osgeo4w/package.sh $package $2
 }
 
 export PATH=$PATH:/c/OSGeo4W/apps/msys/bin
 
 update grass_addons
 
-compile grass64_release 64
-compile grass6_devel 65
-compile grass_trunk 70
+compile grass64_release 64-dev
+compile grass6_devel 65-dev
+compile grass_trunk 70-dev
 
 exit 0



More information about the grass-commit mailing list