mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Fix incorrect bash globbing.
This commit is contained in:
parent
a7e83e9c4e
commit
acf3fe8028
1 changed files with 5 additions and 3 deletions
|
|
@ -107,9 +107,11 @@ get_file() {
|
|||
else
|
||||
bname=$(basename "$url" ".tar.${ext}")
|
||||
fi
|
||||
if [ -f "${bname}."* ]; then
|
||||
cp "${bname}."* tmp/after
|
||||
fi
|
||||
for file in "${bname}."*; do
|
||||
if [ -f "${file}" ]; then
|
||||
cp "${file}" tmp/after
|
||||
fi
|
||||
done
|
||||
cp "../sources/$(basename "$url")" tmp/after
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue