summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
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|")