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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 2 08:42:18 PDT 2012


Author: martinl
Date: 2012-07-02 08:42:16 -0700 (Mon, 02 Jul 2012)
New Revision: 52282

Modified:
   grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh
Log:
wingrass: fix copy-www script

Modified: grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh	2012-07-02 15:01:12 UTC (rev 52281)
+++ grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh	2012-07-02 15:42:16 UTC (rev 52282)
@@ -7,7 +7,9 @@
 function copy {
     cd $HOME/grass$1
 
+    rm -rf $WWWDIR/grass$1
     mkdir $WWWDIR/grass$1
+    
     cp WinGRASS*.exe* $WWWDIR/grass$1
     
     mkdir $WWWDIR/grass$1/osgeo4w
@@ -19,9 +21,6 @@
 
 export PATH=$PATH:/c/OSGeo4W/apps/msys/bin
 
-rm -rf $WWWDIR
-mkdir  $WWWDIR
-
 copy 64
 copy 65
 copy 70



More information about the grass-commit mailing list