diff options
author | midipix <writeonce@midipix.org> | 2018-12-21 02:54:06 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-21 22:23:48 -0500 |
commit | 11c7b518856a829b506f2593f6aed9f2cd4e3ddb (patch) | |
tree | 025098fa928ef2072209929ffa74a39d5b04f5da /configure | |
parent | f1eb02db0e1df5bdd6861e6c1dd1378a15ee4175 (diff) | |
download | sbpython2-11c7b518856a829b506f2593f6aed9f2cd4e3ddb.tar.bz2 sbpython2-11c7b518856a829b506f2593f6aed9f2cd4e3ddb.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 |