diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-18 08:40:35 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-18 08:40:35 +0000 |
commit | 13688cc91f59da3a8e3fe9e62b98347212facac9 (patch) | |
tree | 7df2fed0b45294e08a6a6b4bbd12660ab4928849 /kiss | |
parent | a362d7cf4d25591f555667f12787c801055d42de (diff) | |
parent | 7d232caba208ea3901c97e565239d1d2f5f5122d (diff) | |
download | cpt-13688cc91f59da3a8e3fe9e62b98347212facac9.tar.gz |
Merge branch 'pkg_conflicts' of github.com:kissx/kiss into pkg_conflicts
FossilOrigin-Name: a8bf262a07486a7c3cb0578565693c366a3dc817d728b97342e7bde5321731c3
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,6 +12,7 @@ log() { } source_type() { + [ -z "$1" ] && return 1 # No file. [ -f "$1" ] && return 2 # Local file. [ -f "$src_dir/${1##*/}" ] && return 3 # Cached downloaded file. [ -z "${1##git:*}" ] && return 4 # Git repository. @@ -50,8 +51,8 @@ pkg_depends() { [ "$1" = install ] && [ "$opt" = make ] && continue case $missing in - *" $dep${opt:+ ($opt)},"*) ;; - *) missing="$missing $dep${opt:+ ($opt)}," + *" $dep,"*) ;; + *) missing="$missing $dep," pkg_setup "$dep" pkg_depends ;; esac |