diff options
author | midipix <writeonce@midipix.org> | 2018-12-21 02:54:06 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-21 22:48:31 -0500 |
commit | 50a90eb8f5560c73ea97de2837d03d88f5d0df94 (patch) | |
tree | b05d6f383daade077df92c450aecc925ffe324e8 /configure | |
parent | 4291f5bcfd4f2307c0ca9f89e0d36fcd9f113173 (diff) | |
download | sofort-50a90eb8f5560c73ea97de2837d03d88f5d0df94.tar.bz2 sofort-50a90eb8f5560c73ea97de2837d03d88f5d0df94.tar.xz |
build system: configure: explicitly initialize all variables.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |