Merge pull request #42 from marineam/locale

hack(build_image): Make check for /usr/share/locale a warning.
This commit is contained in:
Brandon Philips 2013-07-18 10:50:03 -07:00
commit ee3fc09057

View File

@ -33,8 +33,11 @@ test_image_content() {
) )
for dir in "${blacklist_dirs[@]}"; do for dir in "${blacklist_dirs[@]}"; do
if [ -d "$dir" ]; then if [ -d "$dir" ]; then
error "test_image_content: Blacklisted directory found: $dir" warn "test_image_content: Blacklisted directory found: $dir"
returncode=1 # Only a warning for now, size isn't important enough to kill time
# playing whack-a-mole on things like this this yet.
#error "test_image_content: Blacklisted directory found: $dir"
#returncode=1
fi fi
done done