summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-21 02:54:06 -0500
committermidipix <writeonce@midipix.org>2018-12-21 22:48:20 -0500
commitab9e193b953d5ef76934b90b5a118fc4d77139fa (patch)
treef28d9a22efa13361a0791f1ad65af12ee984e12a /configure
parent0511b0f02258cd8fcf4f5527b47c97bc7a4577d9 (diff)
downloaddalist-ab9e193b953d5ef76934b90b5a118fc4d77139fa.tar.bz2
dalist-ab9e193b953d5ef76934b90b5a118fc4d77139fa.tar.xz
build system: configure: explicitly initialize all variables.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 569bb3b..085ed7a 100755
--- a/configure
+++ b/configure
@@ -51,6 +51,13 @@ init_vars()
mb_custom_cfgdefs_args=''
mb_custom_cfgdefs_space=''
+ mb_vars=$(cat $mb_project_dir/sofort/config.vars | grep -v '^#')
+
+ for mb_var in $mb_vars; do
+ mb_expr=$mb_var='${'$mb_var':-}'
+ eval "$mb_expr"
+ done
+
if [ -z "$mb_config" ]; then
. $mb_project_dir/config.project || exit 2
else