Commit 7ee8dbc0 authored by Natanael Copa's avatar Natanael Copa

abuild: postcheck for textrels

parent 9b3f7789
...@@ -581,6 +581,15 @@ postcheck() { ...@@ -581,6 +581,15 @@ postcheck() {
echo "$i" echo "$i"
return 1 return 1
fi fi
# test for textrels
if ! options_has "textrels"; then
local res="$(scanelf --recursive --textrel --quiet "$dir")"
if [ -n "$res" ]; then
error "Found textrels:"
echo "$res"
return 1
fi
fi
return 0 return 0
} }
......
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