mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 08:00:05 -07:00
kiss: store path once
This commit is contained in:
parent
35be405279
commit
f644275c62
6
kiss
6
kiss
@ -269,10 +269,8 @@ pkg_cache() {
|
||||
# method if found or first match of the below glob.
|
||||
pkg_find_version "$1"
|
||||
|
||||
set +f
|
||||
set -f -- \
|
||||
"$bin_dir/$1@$repo_ver-$repo_rel.tar.$KISS_COMPRESS" \
|
||||
"$bin_dir/$1@$repo_ver-$repo_rel.tar."*
|
||||
set +f -- "$bin_dir/$1@$repo_ver-$repo_rel.tar."
|
||||
set -f -- "$1$KISS_COMPRESS" "$1"*
|
||||
|
||||
tar_file=$1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user