index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2022-10-12 21:29:30 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2022-10-12 21:29:30 +0200 |
commit | 04a821dddf4c5e4c1fec0bee4995163f6cdb58c1 (patch) | |
tree | 1150806c63074835cb03786a1043d81523e40a5d /lib/common.sh | |
parent | d82bc697169558dcbb936f81c6451f9fb99199e1 (diff) |
-rw-r--r-- | lib/common.sh | 2 |
diff --git a/lib/common.sh b/lib/common.sh index 4ebee4e..a5e4616 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -146,7 +146,7 @@ find_cached_package() { [[ -d $dir ]] || continue shopt -s extglob nullglob - mapfile -t packages < <(printf "%s\n" "$dir"/${targetname}-${targetver}-*${targetarch}.pkg.tar?(.!(sig|*.*))) + mapfile -t packages < <(printf "%s\n" "$dir"/"${targetname}"-"${targetver}"-*"${targetarch}".pkg.tar?(.!(sig|*.*))) shopt -u extglob nullglob for pkg in "${packages[@]}"; do |