comparison flys-backend/contrib/run_geo.sh @ 5066:8208df10df79 dami

Update run example scripts to work with the new packaging
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 20 Feb 2013 18:29:02 +0100
parents 1f33012cc02a
children 90b9b80ffbbf
comparison
equal deleted inserted replaced
5065:a56efdfcab17 5066:8208df10df79
25 SKIP_GAUGE_LOCATION=0 25 SKIP_GAUGE_LOCATION=0
26 SKIP_CATCHMENTS=0 26 SKIP_CATCHMENTS=0
27 SKIP_UESG=0 27 SKIP_UESG=0
28 SKIP_DGM=0 28 SKIP_DGM=0
29 29
30 # There should be no need to change anything below this line
31
30 DIR=`dirname $0` 32 DIR=`dirname $0`
31 DIR=`readlink -f "$DIR"` 33 DIR=`readlink -f "$DIR"`
34
35 OPTIONAL_LIBS="${DIR}"/../opt
36 if [ -d "$OPTIONAL_LIBS" ]; then
37 export PATH="$OPTIONAL_LIBS/bin:$PATH"
38 export LD_LIBRARY_PATH="$OPTIONAL_LIBS/lib:$LD_LIBRARY_PATH"
39 export LD_LIBRARY_PATH="$OPTIONAL_LIBS/lib64:$LD_LIBRARY_PATH"
40 export PYTHONPATH="$OPTIONAL_LIBS/lib/python2.6/site-packages:$PYTHONPATH"
41 fi
32 42
33 exec python $DIR/shpimporter/shpimporter.py \ 43 exec python $DIR/shpimporter/shpimporter.py \
34 --directory $RIVER_PATH \ 44 --directory $RIVER_PATH \
35 --river_name $RIVER_NAME \ 45 --river_name $RIVER_NAME \
36 --ogr_connection "$OGR_CONNECTION" \ 46 --ogr_connection "$OGR_CONNECTION" \

http://dive4elements.wald.intevation.org