kiss: fix bug with mkcd

This commit is contained in:
Dylan Araps 2021-08-25 19:20:28 +03:00
parent 4de7a6ffb4
commit ea9d8e7ad5
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

4
kiss
View File

@ -358,8 +358,8 @@ pkg_source_resolve() {
# Git repository. # Git repository.
if null "${2##git+*}"; then if null "${2##git+*}"; then
_res=$2 _res=$2
_des=$src_dir/$1/${3:+"$3/"}${2##*/}/ _des=$src_dir/$1/${3:+"$3/"}${2##*/}
_des=${_des%[@#]*} _des=${_des%[@#]*}/
# Remote source (cached). # Remote source (cached).
elif [ -f "$src_dir/$1/${3:+"$3/"}${2##*/}" ]; then elif [ -f "$src_dir/$1/${3:+"$3/"}${2##*/}" ]; then