abuild: fix getfattr match
it's a regular expression, not shell pattern. empty match will match everything (default is ^user\\.)
This commit is contained in:
parent
5c05446d07
commit
289400213c
@ -1886,7 +1886,7 @@ stripbin() {
|
||||
scanelf --recursive --nobanner --etype "ET_DYN,ET_EXEC" . \
|
||||
| sed -e 's:^ET_DYN ::' -e 's:^ET_EXEC ::' \
|
||||
| while read filename; do
|
||||
XATTR=$(getfattr --match="*" --dump "${filename}")
|
||||
XATTR=$(getfattr --match="" --dump "${filename}")
|
||||
${CROSS_COMPILE}strip "${filename}"
|
||||
[ -n "$XATTR" ] && (echo "$XATTR" | setfattr --restore=-)
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user