aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-depends-finder
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-03-11 18:04:06 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-03-11 18:04:06 +0000
commit8326a8b148156875d08402f6edf56caad9aedf15 (patch)
tree0678ed8fd4527f50c3d29a37252b6bfa405b35e2 /contrib/kiss-depends-finder
parent22b58003321ac36f73dc38bc7d382f07e0ab9b58 (diff)
downloadcpt-8326a8b148156875d08402f6edf56caad9aedf15.tar.gz
contrib: Remove unneeded checks
FossilOrigin-Name: 30a1895f85e2d36436163f232c803b3570336f53f43b130a0bd8db04f2829632
Diffstat (limited to 'contrib/kiss-depends-finder')
-rwxr-xr-xcontrib/kiss-depends-finder2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-depends-finder b/contrib/kiss-depends-finder
index 32b2b17..432a105 100755
--- a/contrib/kiss-depends-finder
+++ b/contrib/kiss-depends-finder
@@ -9,7 +9,7 @@ grep=$(command -v ggrep) || grep='grep'
printf '=> Detected dependencies:\n'
-while read -r file || [ "$file" ]; do
+while read -r file; do
[ -d "$KISS_ROOT/$file" ] && continue
ldd "$KISS_ROOT/$file" 2>/dev/null | while read -r dep; do