From 8ebd7922580023c76990db25a75a08336e8035d1 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 4 Nov 2024 16:39:09 +0000 Subject: [PATCH] Check for if VARS is set (ref #4478) --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 39fd48c7d..e3907214c 100755 --- a/configure +++ b/configure @@ -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[*]:-} "$@"