mirror of
https://github.com/mapnik/mapnik.git
synced 2025-07-20 16:34:26 +00:00
Check for if VARS is set (ref #4478)
This commit is contained in:
4
configure
vendored
4
configure
vendored
@ -22,11 +22,11 @@ fi
|
||||
# These do not normally need to be set except when
|
||||
# building against binary versions of dependencies like
|
||||
# done via bootstrap.sh
|
||||
VARS=()
|
||||
|
||||
if [ -f mapnik-settings.env ]; then
|
||||
echo "Inheriting from mapnik-settings.env"
|
||||
. ./mapnik-settings.env
|
||||
VARS=( $(cat mapnik-settings.env) )
|
||||
fi
|
||||
|
||||
$PYTHON scons/scons.py --implicit-deps-changed configure ${VARS[*]} "$@"
|
||||
$PYTHON scons/scons.py --implicit-deps-changed configure ${VARS[*]:-} "$@"
|
||||
|
Reference in New Issue
Block a user