tests: common: Fix quoting when globbing

When the glob star is inside quotes, there is only one iteration of the loop
and b holds all matches at once. Move the glob out of the quotes so that we
actually iterate over matched paths.

Fixes: #6543
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2023-07-18 11:27:32 +02:00 committed by Fabiano Fidêncio
parent db77c9a438
commit 124e390333

View File

@ -299,7 +299,7 @@ function install_kata() {
popd
# create symbolic links to kata components
for b in "${katadir}/bin/*" ; do
for b in "${katadir}"/bin/* ; do
sudo ln -sf "${b}" "${local_bin_dir}/$(basename $b)"
done