From f353983fd757a0c92b77f5c4be161e463a018382 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 13 Sep 2019 21:31:55 +0300 Subject: [PATCH] kiss: handle dependencies 'smarter' --- kiss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kiss b/kiss index 30fe95b..c63c06b 100755 --- a/kiss +++ b/kiss @@ -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