diff options
author | midipix <writeonce@midipix.org> | 2019-10-18 00:44:15 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-18 01:37:30 +0000 |
commit | 9b7e8273a0f3062a13bc444a6d0697fc507aaeef (patch) | |
tree | c3fb5b7fe2db861b1f933fc23278392b10dc28da /configure | |
parent | 7d7f2440de921d8f771c9b04ca5a52ca59024c75 (diff) | |
download | apimagic-9b7e8273a0f3062a13bc444a6d0697fc507aaeef.tar.bz2 apimagic-9b7e8273a0f3062a13bc444a6d0697fc507aaeef.tar.xz |
build system: configure: accommodate shells that lack (default) word splitting.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,7 +71,7 @@ init_vars() mb_vars="$mb_make_vars $mb_impl_vars $mb_proj_vars $mb_flag_vars" - for mb_var in $mb_vars ; do + for mb_var in $(printf "$mb_vars") ; do mb_expr=$mb_var='${'$mb_var':-}' eval "$mb_expr" done @@ -390,7 +390,7 @@ config_copy() | grep -v '^#') mb_sed_substs=" \ - $(for __var in $mb_vars; do \ + $(for __var in $(printf %s "$mb_vars"); do \ printf '%s"$%s"%s' "-e 's^@$__var@^'" \ "mb_$__var" "'^g' "; \ done)" |