summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-02-22 14:16:13 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-02-22 14:16:13 +0200
commit289400213c19ff8e6b98b5c746503efb83258d6d (patch)
tree3a68b5a864566d928a20bfd2b15d24f39ba364b1
parent5c05446d0783b40b9e981b1af2f1ed0f3f331324 (diff)
downloadabuild-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.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index e069d46..949f8f7 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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