abuild: post check for /usr/var

This commit is contained in:
Natanael Copa 2013-09-03 14:08:16 +00:00
parent f525e735c2
commit b9305bad3d

View File

@ -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|")