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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jun 7 04:48:36 PDT 2013


Author: hamish
Date: 2013-06-07 04:48:36 -0700 (Fri, 07 Jun 2013)
New Revision: 56631

Modified:
   grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.tmpl
Log:
don't export with "$", quote paths (#1981, merge from devbr6)


Modified: grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.tmpl
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.tmpl	2013-06-07 11:27:10 UTC (rev 56630)
+++ grass/branches/releasebranch_6_4/mswindows/osgeo4w/grass.tmpl	2013-06-07 11:48:36 UTC (rev 56631)
@@ -1,16 +1,16 @@
 #!/bin/sh
 
-OSGEO4W_ROOT_MSYS=@OSGEO4W_ROOT_MSYS@
-GISBASE=$OSGEO4W_ROOT_MSYS/apps/grass/grass- at VERSION@
-GRASS_SH=$OSGEO4W_ROOT_MSYS/apps/msys/bin/sh.exe
-GRASS_WISH=$OSGEO4W_ROOT_MSYS/bin/wish.exe
-GRASS_PYTHON=$OSGEO4W_ROOT_MSYS/bin/python.exe
-PYTHONHOME=$OSGEO4W_ROOT_MSYS/apps/Python27
-GRASS_PROJSHARE=$OSGEO4W_ROOT_MSYS/share/proj
-PATH=$OSGEO4W_ROOT_MSYS/apps/grass/grass- at VERSION@/bin:$PATH
+OSGEO4W_ROOT_MSYS="@OSGEO4W_ROOT_MSYS@"
+GISBASE="$OSGEO4W_ROOT_MSYS/apps/grass/grass- at VERSION@"
+GRASS_SH="$OSGEO4W_ROOT_MSYS/apps/msys/bin/sh.exe"
+GRASS_WISH="$OSGEO4W_ROOT_MSYS/bin/wish.exe"
+GRASS_PYTHON="$OSGEO4W_ROOT_MSYS/bin/python.exe"
+PYTHONHOME="$OSGEO4W_ROOT_MSYS/apps/Python27"
+GRASS_PROJSHARE="$OSGEO4W_ROOT_MSYS/share/proj"
+PATH="$OSGEO4W_ROOT_MSYS/apps/grass/grass- at VERSION@/bin:$PATH"
 
-export $OSGEO4W_ROOT_MSYS $GISBASE $GRASS_SH $GRASS_WISH $GRASS_PYTHON $PYTHONHOME $GRASS_PROJSHARE
-export $PATH
+export OSGEO4W_ROOT_MSYS GISBASE GRASS_SH GRASS_WISH GRASS_PYTHON PYTHONHOME GRASS_PROJSHARE
+export PATH
 
 exec "$GISBASE/etc/Init.sh" "$@"
 



More information about the grass-commit mailing list