diff options
author | midipix <writeonce@midipix.org> | 2018-12-21 02:54:06 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-21 22:48:32 -0500 |
commit | 34c40ba9f25520c56113420fa8d1f74bbadaedc4 (patch) | |
tree | 9f5083e6f1b7f0ec6625242705d758c2ac17b0ae /configure | |
parent | fe1e56cd27061f43d3d63c517cb2910b2a5f2656 (diff) | |
download | u16ports-34c40ba9f25520c56113420fa8d1f74bbadaedc4.tar.bz2 u16ports-34c40ba9f25520c56113420fa8d1f74bbadaedc4.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 |