Commit 072c19e3 authored by Cédric Traizet's avatar Cédric Traizet

BUG: set PROJ_LIB path in env scripts (required in PROJ6/GDAL3)

parent 71b64d90
Pipeline #3701 passed with stages
in 124 minutes and 27 seconds
......@@ -44,6 +44,7 @@ unset LD_LIBRARY_PATH
PATH=$(cat_path "$CURRENT_DIR/bin" "$PATH")
GDAL_DATA=$CURRENT_DIR/share/data
PROJ_LIB=$CURRENT_DIR/share/proj
PYTHONPATH=$(cat_path "$CURRENT_DIR/lib/python" "$PYTHONPATH")
OTB_APPLICATION_PATH=$(cat_path "$CURRENT_DIR/lib/otb/applications" "$OTB_APPLICATION_PATH")
GDAL_DRIVER_PATH="disable"
......@@ -51,6 +52,7 @@ LC_NUMERIC=C
export PATH
export GDAL_DATA
export PROJ_LIB
export PYTHONPATH
export OTB_APPLICATION_PATH
export GDAL_DRIVER_PATH
......
......@@ -26,6 +26,7 @@ call :prefix_path PYTHONPATH "%CURRENT_SCRIPT_DIR%lib\python"
call :prefix_path OTB_APPLICATION_PATH "%CURRENT_SCRIPT_DIR%lib\otb\applications"
set GDAL_DATA=%CURRENT_SCRIPT_DIR%share\data
set PROJ_LIB=%CURRENT_SCRIPT_DIR%share\proj
set GDAL_DRIVER_PATH=disable
:: Set numeric locale to C
set LC_NUMERIC=C
......
......@@ -57,11 +57,14 @@ LC_NUMERIC=C
# set GDAL_DATA variable used by otb application
GDAL_DATA=OUT_DIR/share/gdal
PROJ_LIB=OUT_DIR/share/proj
export GDAL_DRIVER_PATH=disable
# export variables
export LC_NUMERIC
export GDAL_DATA
export PROJ_LIB
export OTB_APPLICATION_PATH
export PATH
export PYTHONPATH
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment