Commit 28940021 authored by Timo Teräs's avatar Timo Teräs

abuild: fix getfattr match

it's a regular expression, not shell pattern. empty match will
match everything (default is ^user\\.)
parent 5c05446d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment