[GRASS-SVN] r37148 - grass/branches/develbranch_6/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 11 01:42:23 EDT 2009


Author: hamish
Date: 2009-05-11 01:42:23 -0400 (Mon, 11 May 2009)
New Revision: 37148

Modified:
   grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi
Log:
move PATHEXT into the main batch file

Modified: grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi	2009-05-11 05:30:23 UTC (rev 37147)
+++ grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi	2009-05-11 05:42:23 UTC (rev 37148)
@@ -562,6 +562,9 @@
 	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" %*'
 	FileClose $0
@@ -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