test/gcc-fedora-flags: modernize quoting

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-01-13 13:37:33 +01:00
parent 0732587e7b
commit bc87a0d123

View File

@ -2,13 +2,13 @@
set -ex set -ex
default_cflags=`rpm -E %{build_cflags}` default_cflags=$(rpm -E '%{build_cflags}')
default_cxxflags=`rpm -E %{build_cxxflags}` default_cxxflags=$(rpm -E '%{build_cxxflags}')
default_ldflags=`rpm -E %{build_ldflags}` default_ldflags=$(rpm -E '%{build_ldflags}')
cflags=`rpm -D '%toolchain gcc' -E %{build_cflags}` cflags=$(rpm -D '%toolchain gcc' -E '%{build_cflags}')
cxxflags=`rpm -D '%toolchain gcc' -E %{build_cxxflags}` cxxflags=$(rpm -D '%toolchain gcc' -E '%{build_cxxflags}')
ldflags=`rpm -D '%toolchain gcc' -E %{build_ldflags}` ldflags=$(rpm -D '%toolchain gcc' -E '%{build_ldflags}')
test "$default_cflags" = "$cflags" test "$default_cflags" = "$cflags"
test "$default_cxxflags" = "$cxxflags" test "$default_cxxflags" = "$cxxflags"