[GRASS-SVN] r56458 - grass/trunk/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 28 14:25:54 PDT 2013


Author: hamish
Date: 2013-05-28 14:25:54 -0700 (Tue, 28 May 2013)
New Revision: 56458

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


Modified: grass/trunk/mswindows/osgeo4w/grass.tmpl
===================================================================
--- grass/trunk/mswindows/osgeo4w/grass.tmpl	2013-05-28 19:59:33 UTC (rev 56457)
+++ grass/trunk/mswindows/osgeo4w/grass.tmpl	2013-05-28 21:25:54 UTC (rev 56458)
@@ -1,15 +1,15 @@
 #!/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_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_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_PYTHON $PYTHONHOME $GRASS_PROJSHARE
-export $PATH
+export OSGEO4W_ROOT_MSYS GISBASE GRASS_SH GRASS_PYTHON PYTHONHOME GRASS_PROJSHARE
+export PATH
 
 "$GRASS_PYTHON" "$GISBASE/etc/grass at POSTFIX@.py" "$@"
 



More information about the grass-commit mailing list