aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-13 18:31:54 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-13 18:31:54 +0000
commit8cf5c9f14b74374033720645f0b9f1af46e57d75 (patch)
tree2f554f53bf679992ebd3d94cb778a0fa0caa5240 /kiss
parentf1513e01163e08ec883f19a9a086c1698308cf05 (diff)
downloadcpt-8cf5c9f14b74374033720645f0b9f1af46e57d75.tar.gz
kiss: handle dependencies 'smarter'
FossilOrigin-Name: 1185464c59a61a8ffc4e5b8049a8f445f7de87dfc9fa50fbe6a88b454976bf04
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 2 insertions, 0 deletions
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