kiss: fix potential issue where function returns early

This commit is contained in:
Dylan Araps 2020-10-21 18:14:33 +03:00
parent 59fab2b8fc
commit 71b4c0f447
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -253,7 +253,7 @@ pkg_cache() {
set -f -- "$bin_dir/$1"[#@]"$version-$release.tar."*
# Prefer '@' to '#' in tarball names.
[ -f "$2" ] && shift
[ ! -f "$2" ] || shift
tar_file=$1