Check for if VARS is set (ref #4478)
This commit is contained in:
parent
e7a2bacb5d
commit
8ebd792258
1 changed files with 2 additions and 2 deletions
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[*]:-} "$@"
|
||||
|
|
Loading…
Reference in a new issue