kiss: Follow symlinks when detecting dependencies

This commit is contained in:
Dylan Araps 2020-03-30 10:53:56 +03:00
parent 55c2de2af8
commit 9186e2105d
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 0 deletions

1
kiss
View File

@ -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}" "$@")