Improve globbing of build scripts.

This commit is contained in:
Andrius Štikonas 2021-01-17 16:19:27 +00:00
parent f784690b3c
commit eb650776e9

View file

@ -107,7 +107,7 @@ get_file() {
else
bname=$(basename "$url" ".tar.${ext}")
fi
for file in "${bname}."*; do
for file in "${bname}"*; do
if [ -f "${file}" ]; then
cp "${file}" tmp/after
fi