diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-04 09:42:25 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-04 09:42:25 +0000 |
| commit | 7ee8dbc044218c4364e0fe401328800b130e4ece (patch) | |
| tree | 1858c0d55f3a8192fec2103e708fd5819205cb6d | |
| parent | 9b3f778971df206cfd11e8760457fb533d213e66 (diff) | |
| download | abuild-7ee8dbc044218c4364e0fe401328800b130e4ece.tar.bz2 abuild-7ee8dbc044218c4364e0fe401328800b130e4ece.tar.xz | |
abuild: postcheck for textrels
| -rwxr-xr-x | abuild.in | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -581,6 +581,15 @@ postcheck() { echo "$i" return 1 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 } |
