kiss: revert printf change

This commit is contained in:
Dylan Araps 2021-07-19 12:25:44 +03:00
parent c43600e7c7
commit e99fbcc170
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 3 additions and 3 deletions

6
kiss
View File

@ -338,7 +338,7 @@ pkg_source_resolve() {
IDENT "$repo_ident" \
PKG "$repo_name"
set -- "$1" "$_fnr" "${3%"${3##*[!/]}"}"
set -- "$1" "$_fnr" "${3%"${3##*[!/]}"}" "$4"
# Git repository.
if null "${2##git+*}"; then
@ -372,6 +372,8 @@ pkg_source_resolve() {
else
die "$1" "No local file '$_res'"
fi
ok "$4" || printf 'found %s\n' "$_res"
}
pkg_source() {
@ -388,8 +390,6 @@ pkg_source() {
while read -r src dest || ok "$src"; do
pkg_source_resolve "$1" "$src" "$dest" "$2"
printf 'found %s\n' "$_res"
case $_res in url+*)
log "$1" "Downloading ${_res##url+}"
mkdir -p "$PWD/$dest"