[GRASS-SVN] r37151 - grass/branches/releasebranch_6_4/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 11 02:44:28 EDT 2009


Author: hamish
Date: 2009-05-11 02:44:27 -0400 (Mon, 11 May 2009)
New Revision: 37151

Modified:
   grass/branches/releasebranch_6_4/mswindows/GRASS-Installer.nsi
Log:
move PATHEXT, init.bat to Init.bat (merge from devbr6)

Modified: grass/branches/releasebranch_6_4/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/GRASS-Installer.nsi	2009-05-11 06:43:09 UTC (rev 37150)
+++ grass/branches/releasebranch_6_4/mswindows/GRASS-Installer.nsi	2009-05-11 06:44:27 UTC (rev 37151)
@@ -562,8 +562,11 @@
 	FileWrite $0 'rem Path to the python directory$\r$\n'	
 	FileWrite $0 'set PYTHONHOME=%GRASSDIR%\Python25$\r$\n'
 	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Add python scripts to the PATHEXT variable$\r$\n'
+	FileWrite $0 'set PATHEXT=%PATHEXT%;.PY$\r$\n'
+	FileWrite $0 '$\r$\n'
 	FileWrite $0 'set WINGISBASE=%GRASSDIR%$\r$\n'
-	FileWrite $0 '"%WINGISBASE%\etc\init.bat" %*'
+	FileWrite $0 '"%WINGISBASE%\etc\Init.bat" %*'
 	FileClose $0
 	done_create_grass_command.bat:
 	
@@ -655,10 +658,6 @@
 	FileWrite $0 'PATH="$$GISBASE/extrabin:$$GISBASE/extralib:$$PATH"$\r$\n'
 	FileWrite $0 'PATH="$$GISBASE/tcl-tk/bin:$$GISBASE/sqlite/bin:$$GISBASE/gpsbabel:$$PATH"$\r$\n'
 	FileWrite $0 'export PATH$\r$\n'
-	FileWrite $0 '# Add python scripts to the PATHEXT variable$\r$\n'
-	FileWrite $0 'PATHEXT="$$PATHEXT:.PY"$\r$\n'
-	FileWrite $0 'export PATHEXT$\r$\n'
-	FileWrite $0 '$\r$\n'
 	FileWrite $0 '# Set the PYTHONPATH variable$\r$\n'
 	FileWrite $0 'PYTHONPATH="$$GISBASE/etc/python:$$GISBASE/Python25:$$PYTHONPATH"$\r$\n'
 	FileWrite $0 'export PYTHONPATH$\r$\n'



More information about the grass-commit mailing list