Fix handling of ports with *1* file.
Reported by: glebius Sponsored by: DellEMC
This commit is contained in:
parent
77fd7d3dc2
commit
d64353f33f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506358
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ msg "Finding symbols"
|
|||
# Find all ELF files
|
||||
ELF_FILES=$(mktemp -t elf_files)
|
||||
find ${STAGEDIR} -type f \
|
||||
-exec /usr/bin/readelf -S {} + 2>/dev/null | awk ' \
|
||||
-exec /usr/bin/readelf -S /dev/null {} + 2>/dev/null | awk ' \
|
||||
/File:/ {sub(/File: /, "", $0); file=$0}
|
||||
/[[:space:]]\.debug_info[[:space:]]*PROGBITS/ {print file}' \
|
||||
> ${ELF_FILES}
|
||||
|
|
Loading…
Reference in a new issue