source: branches/0.5/win/PostNAS-0.5/bin/setfwenv.bat @ 23

Revision 23, 953 bytes checked in by astrid.emde, 14 years ago (diff)
Line 
1@echo off
2REM ==========================================================================
3REM This script is normally invoked from FWTools\setfw.bat
4
5REM The FWTOOLS_OVERRIDE environment variable allows you to set a the
6REM install directory in your environment, instead of having to edit
7REM setfw.bat.  This is especially useful if you frequently upgrade to new
8REM versions, and don't want to have to edit the file every time.
9
10IF exist "%FWTOOLS_OVERRIDE%\setfw.bat" SET FWTOOLS_DIR=%FWTOOLS_OVERRIDE%
11
12IF exist "%FWTOOLS_DIR%\setfw.bat" goto skip_err
13
14echo FWTOOLS_DIR not set properly in setfw.bat, please fix and rerun.
15goto ALL_DONE
16
17:SKIP_ERR
18
19PATH=%FWTOOLS_DIR%\bin;%FWTOOLS_DIR%\python;%PATH%
20set PYTHONPATH=%FWTOOLS_DIR%\pymod
21set PROJ_LIB=%FWTOOLS_DIR%\proj_lib
22set GEOTIFF_CSV=%FWTOOLS_DIR%\data
23set GDAL_DATA=%FWTOOLS_DIR%\data
24set GDAL_DRIVER_PATH=%FWTOOLS_DIR%\gdal_plugins
25REM set CPL_DEBUG=ON
26
27:ALL_DONE
Note: See TracBrowser for help on using the repository browser.