[GRASS-SVN] r53587 - grass/trunk/mswindows/osgeo4w
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 28 02:52:17 PDT 2012
Author: martinl
Date: 2012-10-28 02:52:17 -0700 (Sun, 28 Oct 2012)
New Revision: 53587
Modified:
grass/trunk/mswindows/osgeo4w/package.sh
Log:
wingrass: define osgeo4w dir postfix (use separate dirs for building
G6 a G7)
Modified: grass/trunk/mswindows/osgeo4w/package.sh
===================================================================
--- grass/trunk/mswindows/osgeo4w/package.sh 2012-10-28 09:31:22 UTC (rev 53586)
+++ grass/trunk/mswindows/osgeo4w/package.sh 2012-10-28 09:52:17 UTC (rev 53587)
@@ -21,8 +21,16 @@
# 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"
+# OSGeo4W directory postfix, separate OSGeo4W installations are used
+# for building GRASS 6.x and 7.x
+if test -z "$3" ; then
+ OSGEO4W_ROOT_POSTFIX=""
+else
+ OSGEO4W_ROOT_POSTFIX="$3"
+fi
+export OSGEO4W_ROOT_MSYS="/c/OSGeo4W${OSGEO4W_ROOT_POSTFIX}"
+export OSGEO4W_ROOT="C:\\\OSGeo4W${OSGEO4W_ROOT_POSTFIX}"
+
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
T0=$(date +%s)
More information about the grass-commit
mailing list