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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 2 09:01:16 PDT 2012


Author: martinl
Date: 2012-07-02 09:01:16 -0700 (Mon, 02 Jul 2012)
New Revision: 52283

Modified:
   grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh
Log:
wingrass: copy also addons

Modified: grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh	2012-07-02 15:42:16 UTC (rev 52282)
+++ grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh	2012-07-02 16:01:16 UTC (rev 52283)
@@ -7,16 +7,22 @@
 function copy {
     cd $HOME/grass$1
 
+    echo "Copying grass$1..."
+    
     rm -rf $WWWDIR/grass$1
     mkdir $WWWDIR/grass$1
     
-    cp WinGRASS*.exe* $WWWDIR/grass$1
+    cp    WinGRASS*.exe* $WWWDIR/grass$1
     
     mkdir $WWWDIR/grass$1/osgeo4w
-    cp grass*.tar.bz2 $WWWDIR/grass$1/osgeo4w
+    cp    grass*.tar.bz2 $WWWDIR/grass$1/osgeo4w
     
     mkdir $WWWDIR/grass$1/logs
-    cp -r log-r*      $WWWDIR/grass$1/logs
+    cp -r log-r*         $WWWDIR/grass$1/logs
+
+    mkdir $WWWDIR/grass$1/addons
+    cp    addons/*zip addons/*.md5sum $WWWDIR/grass$1/addons
+    cp -r addons/logs                 $WWWDIR/grass$1/addons
 }
 
 export PATH=$PATH:/c/OSGeo4W/apps/msys/bin



More information about the grass-commit mailing list