[GRASS-SVN] r45563 -
grass/branches/releasebranch_6_4/mswindows/osgeo4w
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 5 07:04:04 EST 2011
Author: martinl
Date: 2011-03-05 04:04:04 -0800 (Sat, 05 Mar 2011)
New Revision: 45563
Modified:
grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.bat.tmpl
grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh
Log:
osgeo4w: move env.bat to etc/ini/
(merge r45561 from devbr6)
Modified: grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.bat.tmpl
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.bat.tmpl 2011-03-05 11:57:08 UTC (rev 45562)
+++ grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.bat.tmpl 2011-03-05 12:04:04 UTC (rev 45563)
@@ -1,4 +1,4 @@
@echo off
call @OSGEO4W_ROOT@\bin\o4w_env.bat
-call @OSGEO4W_ROOT@\apps\grass\grass- at VERSION@\etc\env.bat
+call @OSGEO4W_ROOT@\etc\ini\grass at POSTFIX@.bat
"%WINGISBASE%"\etc\init.bat %*
Modified: grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh 2011-03-05 11:57:08 UTC (rev 45562)
+++ grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh 2011-03-05 12:04:04 UTC (rev 45563)
@@ -133,10 +133,10 @@
$OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/include/grass/config.h.mingw
cp mswindows/osgeo4w/config.h.switch $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/include/grass/config.h
cp mswindows/osgeo4w/config.h.vc $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/include/grass
-sed -e "s#@VERSION@#$VERSION#g" -e "s#@OSGEO4W_ROOT@#$OSGEO4W_ROOT#g" \
+sed -e "s#@POSTFIX@#$MAJOR$MINOR#g" -e "s#@OSGEO4W_ROOT@#$OSGEO4W_ROOT#g" \
mswindows/osgeo4w/grass.bat.tmpl >$OSGEO4W_ROOT_MSYS/bin/grass$MAJOR$MINOR.bat
sed -e "s#@VERSION@#$VERSION#g" -e "s#@OSGEO4W_ROOT_MSYS@#$OSGEO4W_ROOT#g" \
- mswindows/osgeo4w/env.bat.tmpl >$OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/etc/env.bat
+ mswindows/osgeo4w/env.bat.tmpl >$OSGEO4W_ROOT_MSYS/etc/ini/grass$MAJOR$MINOR.bat
sed -e "s#@VERSION@#$VERSION#g" -e "s#@POSTFIX@#$MAJOR$MINOR#g" \
mswindows/osgeo4w/postinstall.bat >$OSGEO4W_ROOT_MSYS/etc/postinstall/grass$MAJOR$MINOR.bat
sed -e "s#@VERSION@#$VERSION#g" -e "s#@POSTFIX@#$MAJOR$MINOR#g" \
More information about the grass-commit
mailing list