forked from kiss-community/kiss
kiss: handle dependencies 'smarter'
This commit is contained in:
parent
728965343e
commit
f353983fd7
2
kiss
2
kiss
@ -355,6 +355,8 @@ pkg_build() {
|
|||||||
# installed as a dependency.
|
# installed as a dependency.
|
||||||
for pkg; do
|
for pkg; do
|
||||||
case $deps in
|
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")
|
*" $pkg "*) explicit=$(echo "$explicit" | sed "s/ $pkg / /g")
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user