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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 11 14:39:37 EDT 2011


Author: martinl
Date: 2011-10-11 11:39:36 -0700 (Tue, 11 Oct 2011)
New Revision: 48744

Added:
   grass-addons/tools/wingrass-packager/grass_osgeo4w_release.sh
Modified:
   grass-addons/tools/wingrass-packager/grass_osgeo4w.sh
Log:
wingrass packager: script to create release package for osgeo4w

Modified: grass-addons/tools/wingrass-packager/grass_osgeo4w.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_osgeo4w.sh	2011-10-11 18:37:54 UTC (rev 48743)
+++ grass-addons/tools/wingrass-packager/grass_osgeo4w.sh	2011-10-11 18:39:36 UTC (rev 48744)
@@ -12,7 +12,7 @@
 	package=1
     fi
 
-    cp $dir/grass*-$package-*.tar.bz2 $HOME/grass$1
+    cp $dir/grass*-$package*.tar.bz2 $HOME/grass$1
 }
 
 export PATH=$PATH:/c/OSGeo4W/apps/msys/bin

Added: grass-addons/tools/wingrass-packager/grass_osgeo4w_release.sh
===================================================================
--- grass-addons/tools/wingrass-packager/grass_osgeo4w_release.sh	                        (rev 0)
+++ grass-addons/tools/wingrass-packager/grass_osgeo4w_release.sh	2011-10-11 18:39:36 UTC (rev 48744)
@@ -0,0 +1,19 @@
+#!/bin/sh
+# Creates release packages for OSGeo4W
+
+HOME=/c/Users/landa/grass_packager
+
+if test -z "$2" ; then
+    echo "$0 dir num"
+    exit 1
+fi
+
+SRC=$1
+PACKAGE=$2
+
+cd $SRC
+#rm -f mswindows/osgeo4w/configure-stamp
+./mswindows/osgeo4w/package.sh $PACKAGE
+
+
+exit 0



More information about the grass-commit mailing list