From 9186e2105d5092fc3ae2393dc99286c603f77d35 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 30 Mar 2020 10:53:56 +0300 Subject: [PATCH] kiss: Follow symlinks when detecting dependencies --- kiss | 1 + 1 file changed, 1 insertion(+) diff --git a/kiss b/kiss index 443e6b7..0941334 100755 --- a/kiss +++ b/kiss @@ -405,6 +405,7 @@ pkg_fixdeps() { # Extract the file path from 'ldd' output. dep=${dep#* => } dep=${dep% *} + dep=$(readlink -f "$dep") # Figure out which package owns the file. own=$("$grep" -lFx "${dep##$KISS_ROOT}" "$@")