diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-03 14:08:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-03 14:08:16 +0000 |
commit | b9305bad3d38173417c6faccd7703836358541e9 (patch) | |
tree | 9e3fb24b8fd928abbb37af973dd30f00ec18fe64 /abuild.in | |
parent | f525e735c2f138908e5b7ba17b12d0066ab87e30 (diff) | |
download | abuild-b9305bad3d38173417c6faccd7703836358541e9.tar.gz abuild-b9305bad3d38173417c6faccd7703836358541e9.tar.bz2 abuild-b9305bad3d38173417c6faccd7703836358541e9.tar.xz abuild-b9305bad3d38173417c6faccd7703836358541e9.zip |
abuild: post check for /usr/var
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -646,6 +646,10 @@ postcheck() { return 1 fi done + if [ -d "$dir"/usr/var ]; then + error "Found /usr/var, localstatedir is most likely wrong" + return 1 + fi fi # look for *.la files i=$(find "$dir" -name '*.la' | sed "s|^$dir|\t|") |