[GRASS-SVN] r45565 - grass/branches/releasebranch_6_4/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 5 09:31:02 EST 2011


Author: martinl
Date: 2011-03-05 06:31:02 -0800 (Sat, 05 Mar 2011)
New Revision: 45565

Modified:
   grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.bat.tmpl
   grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh
Log:
revert r45561, etc/ini is used of general versions 


Modified: grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.bat.tmpl
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.bat.tmpl	2011-03-05 14:03:21 UTC (rev 45564)
+++ grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.bat.tmpl	2011-03-05 14:31:02 UTC (rev 45565)
@@ -1,4 +1,4 @@
 @echo off
 call @OSGEO4W_ROOT@\bin\o4w_env.bat
-call @OSGEO4W_ROOT@\etc\ini\grass at POSTFIX@.bat
+call @OSGEO4W_ROOT@\apps\grass\grass- at VERSION@\etc\env.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 14:03:21 UTC (rev 45564)
+++ grass/branches/releasebranch_6_4/mswindows/osgeo4w/package.sh	2011-03-05 14:31:02 UTC (rev 45565)
@@ -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#@POSTFIX@#$MAJOR$MINOR#g" -e "s#@OSGEO4W_ROOT@#$OSGEO4W_ROOT#g" \
+sed -e "s#@VERSION@#$VERSION#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/etc/ini/grass$MAJOR$MINOR.bat
+    mswindows/osgeo4w/env.bat.tmpl >$OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/etc/env.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