kiss: handle dependencies 'smarter'

This commit is contained in:
Dylan Araps 2019-09-13 21:31:55 +03:00
parent 728965343e
commit f353983fd7
1 changed files with 2 additions and 0 deletions

2
kiss
View File

@ -355,6 +355,8 @@ pkg_build() {
# installed as a dependency.
for pkg; do
case $deps in
# There's no better way to remove a word from a string in
# POSIX 'sh' sadly.
*" $pkg "*) explicit=$(echo "$explicit" | sed "s/ $pkg / /g")
esac
done