From 9358f9558f556eb965a71f16d0aa1046dec7e29f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 26 Sep 2020 09:15:46 +0300 Subject: [PATCH] kiss: more fixdeps stuff --- kiss | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/kiss b/kiss index 41dc219..5d87154 100755 --- a/kiss +++ b/kiss @@ -452,7 +452,7 @@ pkg_fix_deps() { ;; *) - ldd "$file" + ldd -- "$file" ;; esac 2>/dev/null | @@ -475,20 +475,19 @@ pkg_fix_deps() { libpthread.so* |\ librt.so* |\ libtrace.so* |\ - libxnet.so* ) + libxnet.so* |\ + ldd) continue ;; - esac - pkg_owner -l "/${line#/}\$" "$@" || continue + *) + pkg_owner -l "/${line#/}\$" "$@" || + continue - case $pkg_owner in - gcc | llvm | "$pkg") - continue + [ "$pkg_owner" = "$pkg" ] || + printf '%s\n' "$pkg_owner" ;; esac - - printf '%s\n' "$pkg_owner" ;; esac done ||: