Merge pull request #4480 from mapnik/configure-unbound-variable
Check for if VARS is set (ref #4478)
This commit is contained in:
commit
bb3106d04f
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
|
# 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[*]:-} "$@"
|
||||||
|
|
Loading…
Reference in a new issue