diff options
author | midipix <writeonce@midipix.org> | 2018-12-21 02:54:06 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-21 22:48:17 -0500 |
commit | fed9c7829de8ac4682deb8636e3bd8179783b9a9 (patch) | |
tree | 86d1178646bfd0d220dfa3975beb287f97c85393 /configure | |
parent | 61fa5d57349f0ce41f3bd278a1cd9cd0a7366f5f (diff) | |
download | bfirm-fed9c7829de8ac4682deb8636e3bd8179783b9a9.tar.bz2 bfirm-fed9c7829de8ac4682deb8636e3bd8179783b9a9.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 |