1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

kiss: stick to readelf

This commit is contained in:
Dylan Araps 2020-09-26 01:35:09 +03:00
parent e94fcab1dc
commit 7cc6f83ba2
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

10
kiss
View File

@ -466,11 +466,6 @@ pkg_fixdeps() {
"$elf_cmd" -d "$file" |
grep -q "NEEDED.* \[${dep##*/}\]"
;;
*objdump)
"$elf_cmd" -p "$file" |
grep -q "NEEDED.* ${dep##*/}\$"
;;
esac || continue
# Figure out which package owns the file.
@ -1527,8 +1522,9 @@ main() {
# Figure out which utility is available to dump elf information.
elf_cmd=${KISS_ELFCMD:="$(
command -v readelf ||
command -v objdump
command -v readelf ||
command -v eu-readelf ||
command -v llvm-readelf
)"} ||:
# Store the date and time of script invocation to be used as the name of