Commit f7c56801 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: warn if world writable directories are found

parent dd033763
......@@ -558,6 +558,12 @@ prepare_subpackages() {
warning "Found /usr/share/locale"
warning "Maybe add \$pkgname-lang to subpackages?"
# check directory permissions
i=$(find "$pkgdir" -type d -perm -777 | sed "s|^$pkgdir|\t|")
if [ -n "$i" ]; then
warning "World writeable directories found:"
echo "$i"
default_lang() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment