diff options
author | midipix <writeonce@midipix.org> | 2018-12-21 02:54:06 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-21 22:48:30 -0500 |
commit | 103e4c094cabd464be2a60832caba903b918c8c2 (patch) | |
tree | 8fe4b94a7f2d7ed14eeaa6fe4ad379816cafb84d /configure | |
parent | 29a758d25cc1acfe5ff8f8063312798145321a63 (diff) | |
download | slibtool-103e4c094cabd464be2a60832caba903b918c8c2.tar.bz2 slibtool-103e4c094cabd464be2a60832caba903b918c8c2.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 |