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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 18 15:32:02 EDT 2011


Author: martinl
Date: 2011-03-18 12:32:02 -0700 (Fri, 18 Mar 2011)
New Revision: 45716

Modified:
   grass-addons/tools/wingrass-packager/grass_compile.sh
Log:
winGRASS packager: update addons

Modified: grass-addons/tools/wingrass-packager/grass_compile.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_compile.sh	2011-03-18 19:14:36 UTC (rev 45715)
+++ grass-addons/tools/wingrass-packager/grass_compile.sh	2011-03-18 19:32:02 UTC (rev 45716)
@@ -3,6 +3,12 @@
 
 SRC=/osgeo4w/usr/src
 
+function update {
+    echo "Updating $1..."     
+    cd $SRC/$1
+    svn up || (svn cleanup && svn up)
+}
+
 function compile {
     echo "Compiling $1..."
     cd $SRC/$1
@@ -13,6 +19,8 @@
 
 export PATH=$PATH:/c/OSGeo4W/apps/msys/bin
 
+update grass_addons
+
 compile grass64_release
 compile grass6_devel
 compile grass_trunk



More information about the grass-commit mailing list