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