[GRASS-SVN] r40466 - grass/branches/develbranch_6/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 16 06:34:14 EST 2010
Author: hamish
Date: 2010-01-16 06:34:12 -0500 (Sat, 16 Jan 2010)
New Revision: 40466
Modified:
grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi
Log:
fix newline quoting
Modified: grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi 2010-01-16 07:53:39 UTC (rev 40465)
+++ grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi 2010-01-16 11:34:12 UTC (rev 40466)
@@ -571,7 +571,7 @@
FileWrite $0 '$\r$\n'
FileWrite $0 'rem Path to the python directory$\r$\n'
FileWrite $0 'set PYTHONHOME=%GRASSDIR%\Python25$\r$\n'
- FileWrite $0 'if "x%GRASS_PYTHON%" == "x" set GRASS_PYTHON=python\r$\n'
+ FileWrite $0 'if "x%GRASS_PYTHON%" == "x" set GRASS_PYTHON=python$\r$\n'
FileWrite $0 '$\r$\n'
FileWrite $0 'set WINGISBASE=%GRASSDIR%$\r$\n'
FileWrite $0 '"%WINGISBASE%\etc\Init.bat" %*'
@@ -671,9 +671,10 @@
FileWrite $0 'export PYTHONPATH$\r$\n'
FileWrite $0 'PYTHONHOME="$INSTALL_DIR\Python25"$\r$\n'
FileWrite $0 'export PYTHONHOME$\r$\n'
- FileWrite $0 'if [ -z "$$GRASS_PYTHON" ] ; then\r$\n'
- FileWrite $0 ' GRASS_PYTHON=python; export GRASS_PYTHON\r$\n'
- FileWrite $0 'fi\r$\n'
+ FileWrite $0 'if [ -z "$$GRASS_PYTHON" ] ; then$$\r$\n'
+ FileWrite $0 ' GRASS_PYTHON=python$\r$\n'
+ FileWrite $0 ' export GRASS_PYTHON$\r$\n'
+ FileWrite $0 'fi$\r$\n'
FileWrite $0 '$\r$\n'
FileWrite $0 '# Set the GRASS_PROJSHARE variable$\r$\n'
FileWrite $0 'GRASS_PROJSHARE="$INSTALL_DIR\proj"$\r$\n'
More information about the grass-commit
mailing list