From 34c40ba9f25520c56113420fa8d1f74bbadaedc4 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 21 Dec 2018 02:54:06 -0500 Subject: build system: configure: explicitly initialize all variables. --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3