]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: really fix wildcard quoting in sc_tests_executable
authorPádraig Brady <P@draigBrady.com>
Fri, 20 Mar 2015 12:03:56 +0000 (12:03 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 20 Mar 2015 14:34:31 +0000 (14:34 +0000)
commit9042ff441cd931eeb4196651170797a688f82522
tree29a8bf0335bbddb1accebaa7df9f4708ee146227
parent79e27fd67ed2c23b9cf01c42e3dae741559eb03c
maint: really fix wildcard quoting in sc_tests_executable

* cfg.mk (sc_tests_executable): The previous commit avoided
the globbing, but also passed on the quoted wildcards to find(1).
We could use eval to handle the quoting, though that's a bit
awkward and dangerous, so instead explicitly disable globbing
for the whole make target subshell.  Note noglob is not available
on solaris, where we fall back to set -f.  Note also that zsh
uses set -F for this, but that's moot here.  Also correct the
find(1) expression to include the -o between each wildcard.
cfg.mk