forked from kiss-community/kiss
kiss: Follow symlinks when detecting dependencies
This commit is contained in:
parent
55c2de2af8
commit
9186e2105d
1
kiss
1
kiss
@ -405,6 +405,7 @@ pkg_fixdeps() {
|
|||||||
# Extract the file path from 'ldd' output.
|
# Extract the file path from 'ldd' output.
|
||||||
dep=${dep#* => }
|
dep=${dep#* => }
|
||||||
dep=${dep% *}
|
dep=${dep% *}
|
||||||
|
dep=$(readlink -f "$dep")
|
||||||
|
|
||||||
# Figure out which package owns the file.
|
# Figure out which package owns the file.
|
||||||
own=$("$grep" -lFx "${dep##$KISS_ROOT}" "$@")
|
own=$("$grep" -lFx "${dep##$KISS_ROOT}" "$@")
|
||||||
|
Loading…
Reference in New Issue
Block a user