[GRASS-SVN] r48793 - grass/trunk/mswindows/osgeo4w
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 14 10:20:53 EDT 2011
Author: martinl
Date: 2011-10-14 07:20:53 -0700 (Fri, 14 Oct 2011)
New Revision: 48793
Modified:
grass/trunk/mswindows/osgeo4w/package.sh
Log:
winGRASS: update for daily builds
(merge r48792 from devbr6)
Modified: grass/trunk/mswindows/osgeo4w/package.sh
===================================================================
--- grass/trunk/mswindows/osgeo4w/package.sh 2011-10-14 14:02:34 UTC (rev 48792)
+++ grass/trunk/mswindows/osgeo4w/package.sh 2011-10-14 14:20:53 UTC (rev 48793)
@@ -17,7 +17,10 @@
fi
fi
-export PACKAGE=${1:-1}
+export PACKAGE=${1:-1}
+# package name for osgeo4w
+# eg. 70-dev -> grass70-dev, empty for release
+export PACKAGE_NAME=$2
export OSGEO4W_ROOT_MSYS="/c/OSGeo4W"
export OSGEO4W_ROOT="C:\\\OSGeo4W"
export PATH=.:/c/mingw/bin:/usr/local/bin:/bin:$OSGEO4W_ROOT_MSYS/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Subversion:$PWD/mswindows/osgeo4w
@@ -62,7 +65,7 @@
read MINOR <&3
read PATCH <&3
-export VERSION=$MAJOR.$MINOR.$PATCH
+export VERSION=$MAJOR.$MINOR.$PATCH
export GRASS_PYTHON="/c/OSGeo4W/bin/python.exe"
export PYTHONHOME="/c/OSGeo4W/apps/Python25"
@@ -176,7 +179,7 @@
$SRC/mswindows/osgeo4w/grass.tmpl >$OSGEO4W_ROOT_MSYS/bin/grass$MAJOR$MINOR.tmpl
# grass package
- tar -cjf $PDIR/grass-$VERSION-$PACKAGE.tar.bz2 \
+ tar -cjf $PDIR/grass$PACKAGE_NAME-$VERSION-$PACKAGE.tar.bz2 \
apps/grass/grass-$VERSION \
bin/grass$MAJOR$MINOR.bat.tmpl \
bin/grass$MAJOR$MINOR.tmpl \
More information about the grass-commit
mailing list