diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-02-22 14:16:13 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-02-22 14:16:13 +0200 |
commit | 289400213c19ff8e6b98b5c746503efb83258d6d (patch) | |
tree | 3a68b5a864566d928a20bfd2b15d24f39ba364b1 | |
parent | 5c05446d0783b40b9e981b1af2f1ed0f3f331324 (diff) | |
download | abuild-289400213c19ff8e6b98b5c746503efb83258d6d.tar.gz abuild-289400213c19ff8e6b98b5c746503efb83258d6d.tar.bz2 abuild-289400213c19ff8e6b98b5c746503efb83258d6d.tar.xz abuild-289400213c19ff8e6b98b5c746503efb83258d6d.zip |
abuild: fix getfattr match
it's a regular expression, not shell pattern. empty match will
match everything (default is ^user\\.)
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |