forked from Lainports/freebsd-ports
Mk/Scripts: Add quotes to $0 in the stripped() function in qa.sh
This is a followup to the previous patch that fixed the bug with missing unstripped file suggestions. PR: 270398 Suggested by: mat@
This commit is contained in:
parent
cd66237c76
commit
c92e6eff6f
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ stripped() {
|
|||
# files with spaces are kept intact.
|
||||
# Using readelf -h ... /ELF Header:/ will match on all ELF files.
|
||||
find ${STAGEDIR} -type f ! -name '*.a' ! -name '*.o' \
|
||||
-exec sh -c 'readelf -S -- /dev/null $0 "$@" || :' -- {} + 2>/dev/null | awk '
|
||||
-exec sh -c 'readelf -S -- /dev/null "$0" "$@" || :' -- {} + 2>/dev/null | awk '
|
||||
/File:/ {sub(/File: /, "", $0); file=$0}
|
||||
/[[:space:]]\.debug_info[[:space:]]*PROGBITS/ {print file}' |
|
||||
while read -r f; do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue