summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-03 14:08:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-03 14:08:16 +0000
commitb9305bad3d38173417c6faccd7703836358541e9 (patch)
tree9e3fb24b8fd928abbb37af973dd30f00ec18fe64 /abuild.in
parentf525e735c2f138908e5b7ba17b12d0066ab87e30 (diff)
downloadabuild-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-xabuild.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index ed0cb03..a8bfddb 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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|")