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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 20 15:27:34 EDT 2010


Author: hellik
Date: 2010-09-20 19:27:34 +0000 (Mon, 20 Sep 2010)
New Revision: 43542

Modified:
   grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi
Log:
set PROJ_LIB for proj4/cs2cs in windows

Modified: grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi	2010-09-20 19:18:52 UTC (rev 43541)
+++ grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi	2010-09-20 19:27:34 UTC (rev 43542)
@@ -673,6 +673,9 @@
 	FileWrite $0 'rem Set GDAL_DATA$\r$\n'	
 	FileWrite $0 'set GDAL_DATA=%GRASSDIR%\etc\ogr_csv$\r$\n'
 	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Set PROJ_LIB$\r$\n'	
+	FileWrite $0 'set PROJ_LIB=%GRASSDIR%\proj$\r$\n'
+	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'
@@ -787,6 +790,9 @@
 	FileWrite $0 '# Set the GDAL_DATA variable$\r$\n'
 	FileWrite $0 'GDAL_DATA="$INSTALL_DIR\etc\ogr_csv"$\r$\n'
 	FileWrite $0 'export GDAL_DATA$\r$\n'
+	FileWrite $0 '# Set the PROJ_LIB variable$\r$\n'
+	FileWrite $0 'PROJ_LIB="$INSTALL_DIR\proj"$\r$\n'
+	FileWrite $0 'export PROJ_LIB $\r$\n'
 	FileWrite $0 '$\r$\n'
 	FileWrite $0 'exec "$$GISBASE/etc/Init.sh" "$$@"'
 	FileClose $0



More information about the grass-commit mailing list