diff options
author | midipix <writeonce@midipix.org> | 2021-05-27 04:18:40 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-05-27 04:21:28 +0000 |
commit | 277afb86f4d245b2a69e0736227df2c4f27b52a0 (patch) | |
tree | d6f49efcc31c14eb94e1f43bc370245e4a1bf5a1 /sofort/cfgtest | |
parent | 1d428ede59c202611ed6cf0c6f1a9b2c7da79858 (diff) | |
download | ntapi-277afb86f4d245b2a69e0736227df2c4f27b52a0.tar.bz2 ntapi-277afb86f4d245b2a69e0736227df2c4f27b52a0.tar.xz |
build system: configure: cfgtest: do not rely on default word splitting.
Diffstat (limited to 'sofort/cfgtest')
-rw-r--r-- | sofort/cfgtest/cfgtest.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sofort/cfgtest/cfgtest.sh b/sofort/cfgtest/cfgtest.sh index 71f03ec..2d765be 100644 --- a/sofort/cfgtest/cfgtest.sh +++ b/sofort/cfgtest/cfgtest.sh @@ -244,17 +244,17 @@ cfgtest_common_init() # config.log printf "$cfgtest_fmt" "$mb_cfgtest_cc" >&3 - for cfgtest_cflag in $mb_cfgtest_cflags; do + for cfgtest_cflag in $(printf '%s' "$mb_cfgtest_cflags"); do printf ' \\\n\t%s' "$cfgtest_cflag" >&3 done if [ "$cfgtest_type" = 'lib' ]; then - for cfgtest_lib in $cfgtest_libs; do + for cfgtest_lib in $(printf '%s' "$cfgtest_libs"); do printf ' \\\n\t%s' "$cfgtest_lib" >&3 done elif [ "$cfgtest_type" = 'switch' ]; then - for cfgtest_switch in $cfgtest_switches; do + for cfgtest_switch in $(printf '%s' "$cfgtest_switches"); do printf ' \\\n\t%s' "$cfgtest_switch" >&3 done fi @@ -550,7 +550,7 @@ cfgtest_compiler_switch() cfgtest_switches= cfgtest_spc= - for cfgtest_switch in ${@}; do + for cfgtest_switch in $(printf '%s' "${@}"); do cfgtest_switches="$cfgtest_switches$cfgtest_spc$cfgtest_switch" cfgtest_spc=' ' done |