diff options
author | midipix <writeonce@midipix.org> | 2019-10-18 00:44:15 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-18 01:37:32 +0000 |
commit | b16aa0f2135640e7636befa22507b1e02357b9ea (patch) | |
tree | 2cb70df8f5fd65e4edd573d0292c79474a70c1d4 /configure | |
parent | 19088f96a0c69e9df91facab7fc7a29344758c9f (diff) | |
download | ptycon-b16aa0f2135640e7636befa22507b1e02357b9ea.tar.bz2 ptycon-b16aa0f2135640e7636befa22507b1e02357b9ea.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)" |