[GRASS-SVN] r52462 - grass-addons/tools/wingrass-packager
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 27 02:35:21 PDT 2012
Author: martinl
Date: 2012-07-27 02:35:20 -0700 (Fri, 27 Jul 2012)
New Revision: 52462
Modified:
grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh
Log:
wingrass: fix addons for 6.4.Xsvn
Modified: grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh 2012-07-27 08:04:47 UTC (rev 52461)
+++ grass-addons/tools/wingrass-packager/grass_copy_wwwroot.sh 2012-07-27 09:35:20 UTC (rev 52462)
@@ -20,14 +20,20 @@
mkdir $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
+ if test -n "$2"; then
+ ADDONDIR=$WWWDIR/grass$1/addons/$2
+ else
+ ADDONDIR=$WWWDIR/grass$1/addons
+ fi
+ mkdir -p $ADDONDIR
+
+ cp addons/*zip addons/*.md5sum $ADDONDIR
+ cp -r addons/logs $ADDONDIR
}
export PATH=$PATH:/c/OSGeo4W/apps/msys/bin
-copy 64
+copy 64 6.4.3svn
copy 65
copy 70
More information about the grass-commit
mailing list