aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/kiss-depends-finder2
-rwxr-xr-xcontrib/kiss-export2
2 files changed, 2 insertions, 2 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
diff --git a/contrib/kiss-export b/contrib/kiss-export
index dd5dedd..f8add7c 100755
--- a/contrib/kiss-export
+++ b/contrib/kiss-export
@@ -13,7 +13,7 @@ pkg=$1
set --
# Construct the argument list using each file.
-while read -r file || [ "$file" ]; do
+while read -r file; do
[ -d "$KISS_ROOT/$file" ] || set -- "$@" ".$file"
done < "$KISS_ROOT/var/db/kiss/installed/$pkg/manifest"