otbenv.bash 280 Bytes
Newer Older
1
#!/usr/bin/env bash
2

3
CURRENT_DIR=$(cd -P -- "$(dirname -- "$BASH_SOURCE")" && printf '%s\n' "$(pwd -P)")
4 5

unset LD_LIBRARY_PATH
6

7
PATH=$CURRENT_DIR/bin:$PATH
8
GDAL_DATA=$CURRENT_DIR/share/gdal
9
GEOTIFF_CSV=$CURRENT_DIR/share/epsg_csv
10 11 12 13

export PATH
export GDAL_DATA
export GEOTIFF_CSV