diff options
author | midipix <writeonce@midipix.org> | 2018-12-21 02:54:06 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-21 22:48:21 -0500 |
commit | da830f41a0975ae16ea2743b7e2ceef91574160a (patch) | |
tree | 0ee4c4cfa952d6e3a467f07254f84a144c9b31b7 /configure | |
parent | 2728dcfb34188767e76f6015dabb71206b457786 (diff) | |
download | mdso-da830f41a0975ae16ea2743b7e2ceef91574160a.tar.bz2 mdso-da830f41a0975ae16ea2743b7e2ceef91574160a.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 |