[GRASS-SVN] r56459 - grass/branches/develbranch_6/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 28 14:29:30 PDT 2013


Author: hamish
Date: 2013-05-28 14:29:30 -0700 (Tue, 28 May 2013)
New Revision: 56459

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


Modified: grass/branches/develbranch_6/mswindows/osgeo4w/grass.tmpl
===================================================================
--- grass/branches/develbranch_6/mswindows/osgeo4w/grass.tmpl	2013-05-28 21:25:54 UTC (rev 56458)
+++ grass/branches/develbranch_6/mswindows/osgeo4w/grass.tmpl	2013-05-28 21:29:30 UTC (rev 56459)
@@ -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