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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 2 06:39:36 PDT 2013


Author: martinl
Date: 2013-08-02 06:39:34 -0700 (Fri, 02 Aug 2013)
New Revision: 57367

Modified:
   grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
   grass/trunk/mswindows/env.bat
Log:
wingrass: restore PROJ_LIB variable (fix r57344)


Modified: grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi.tmpl	2013-08-02 13:37:19 UTC (rev 57366)
+++ grass/trunk/mswindows/GRASS-Installer.nsi.tmpl	2013-08-02 13:39:34 UTC (rev 57367)
@@ -835,6 +835,10 @@
 	FileWrite $0 'GRASS_PROJSHARE="$INSTALL_DIR\share\proj"$\r$\n'
 	FileWrite $0 'export GRASS_PROJSHARE$\r$\n'
 	FileWrite $0 '$\r$\n'
+	FileWrite $0 '# Set the PROJ_LIB variable$\r$\n'
+	FileWrite $0 'PROJ_LIB="$INSTALL_DIR\share\proj"$\r$\n'
+	FileWrite $0 'export PROJ_LIB $\r$\n'
+	FileWrite $0 '$\r$\n'
 	FileWrite $0 '# Set the GDAL_DATA variable$\r$\n'
 	FileWrite $0 'GDAL_DATA="$INSTALL_DIR\share\gdal"$\r$\n'
 	FileWrite $0 'export GDAL_DATA$\r$\n'

Modified: grass/trunk/mswindows/env.bat
===================================================================
--- grass/trunk/mswindows/env.bat	2013-08-02 13:37:19 UTC (rev 57366)
+++ grass/trunk/mswindows/env.bat	2013-08-02 13:39:34 UTC (rev 57367)
@@ -6,6 +6,8 @@
 set PYTHONHOME=%GISBASE%\Python27
 
 set GRASS_PROJSHARE=%GISBASE%\proj
+
+set PROJ_LIB=%GISBASE%\share\proj 
 set GDAL_DATA=%GISBASE%\share\gdal
 set GEOTIFF_CSV=%GISBASE%\share\epsg_csv
 



More information about the grass-commit mailing list