Check for if VARS is set (ref #4478)

This commit is contained in:
Artem Pavlenko 2024-11-04 16:39:09 +00:00
parent e7a2bacb5d
commit 8ebd792258

4
configure vendored
View file

@ -22,11 +22,11 @@ fi
# These do not normally need to be set except when # These do not normally need to be set except when
# building against binary versions of dependencies like # building against binary versions of dependencies like
# done via bootstrap.sh # done via bootstrap.sh
VARS=()
if [ -f mapnik-settings.env ]; then if [ -f mapnik-settings.env ]; then
echo "Inheriting from mapnik-settings.env" echo "Inheriting from mapnik-settings.env"
. ./mapnik-settings.env . ./mapnik-settings.env
VARS=( $(cat mapnik-settings.env) ) VARS=( $(cat mapnik-settings.env) )
fi fi
$PYTHON scons/scons.py --implicit-deps-changed configure ${VARS[*]} "$@" $PYTHON scons/scons.py --implicit-deps-changed configure ${VARS[*]:-} "$@"