[GRASS-SVN] r56927 - grass/trunk/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 25 19:00:13 PDT 2013


Author: hamish
Date: 2013-06-25 19:00:13 -0700 (Tue, 25 Jun 2013)
New Revision: 56927

Modified:
   grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
Log:
GRASS_PYTHON needs to be quoted as path may contain a space

Modified: grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi.tmpl	2013-06-26 00:29:47 UTC (rev 56926)
+++ grass/trunk/mswindows/GRASS-Installer.nsi.tmpl	2013-06-26 02:00:13 UTC (rev 56927)
@@ -700,7 +700,7 @@
 	FileWrite $0 '$\r$\n'
 	FileWrite $0 'cd "%USERPROFILE%"'
 	FileWrite $0 '$\r$\n'
-	FileWrite $0 '%GRASS_PYTHON% "%GISBASE%\etc\grass at GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR at .py" %*'
+	FileWrite $0 '"%GRASS_PYTHON%" "%GISBASE%\etc\grass at GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR at .py" %*'
 	FileClose $0
 	done_create_grass_command.bat:
 	
@@ -734,7 +734,7 @@
 	FileWrite $0 '$\r$\n'
 	FileWrite $0 'cd "%USERPROFILE%"'
 	FileWrite $0 '$\r$\n'
-	FileWrite $0 '%GRASS_PYTHON% "%GISBASE%\etc\grass at GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR at .py" %*'
+	FileWrite $0 '"%GRASS_PYTHON%" "%GISBASE%\etc\grass at GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR at .py" %*'
 	FileClose $0
 	done_create_grass_command_msys.bat:
 	



More information about the grass-commit mailing list