aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-14 07:23:57 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-14 07:23:57 +0000
commita73e32265b54f7c9fe0c444e24493aea538b34b9 (patch)
treee96a7d307697e14ae3c19f6bd2f01ddd36279382
parenta5353304c2ac2a9ea32594328011af8aca5cceb4 (diff)
downloadcpt-a73e32265b54f7c9fe0c444e24493aea538b34b9.tar.gz
kiss: clean up
FossilOrigin-Name: 6e692df075bf2d697a2f7ce8c120cf7d5d6771dce3f729de20899b81cc3b7556
-rwxr-xr-xkiss3
1 files changed, 1 insertions, 2 deletions
diff --git a/kiss b/kiss
index ddd57d9..8bf9881 100755
--- a/kiss
+++ b/kiss
@@ -181,8 +181,7 @@ pkg_depends() {
# Recurse through the dependencies of the child
# packages. Keep doing this.
while read -r dep _; do
- [ "${dep##\#*}" ] || continue
- pkg_depends "$dep" ||:
+ [ "${dep##\#*}" ] && pkg_depends "$dep"
done 2>/dev/null < "$(pkg_find "$1")/depends" ||:
# After child dependencies are added to the list,