2018-08-01 17:37:15 +02:00
|
|
|
#! /bin/sh
|
2011-02-04 23:29:10 +01:00
|
|
|
|
2017-09-10 17:19:04 +02:00
|
|
|
set -eu
|
|
|
|
|
2018-08-01 17:37:15 +02:00
|
|
|
: ${PYTHON:=python}
|
2014-09-03 23:57:27 +02:00
|
|
|
|
2017-09-10 17:19:04 +02:00
|
|
|
# mapnik-settings.env is an optional file to store
|
|
|
|
# environment variables that should be used before
|
|
|
|
# running tests like PROJ_LIB, GDAL_DATA, and ICU_DATA
|
|
|
|
# These do not normally need to be set except when
|
|
|
|
# building against binary versions of dependencies like
|
|
|
|
# done via bootstrap.sh
|
2018-08-01 17:37:15 +02:00
|
|
|
if [ -f mapnik-settings.env ]; then
|
2017-09-10 17:19:04 +02:00
|
|
|
echo "Inheriting from mapnik-settings.env"
|
2018-08-01 17:37:15 +02:00
|
|
|
. ./mapnik-settings.env
|
2017-09-10 17:19:04 +02:00
|
|
|
fi
|
|
|
|
|
2023-11-23 22:03:11 +01:00
|
|
|
VARS=( $(cat mapnik-settings.env) )
|
|
|
|
|
|
|
|
$PYTHON scons/scons.py --implicit-deps-changed configure ${VARS[*]} "$@"
|