From eb650776e951da85c6378e9ecf27e882974bf9dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 17 Jan 2021 16:19:27 +0000 Subject: [PATCH] Improve globbing of build scripts. --- rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs.sh b/rootfs.sh index 43bad6d0..670aef6f 100755 --- a/rootfs.sh +++ b/rootfs.sh @@ -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