summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 4ced139..47492f8 100755
--- a/abuild.in
+++ b/abuild.in
@@ -558,6 +558,12 @@ prepare_subpackages() {
warning "Found /usr/share/locale"
warning "Maybe add \$pkgname-lang to subpackages?"
fi
+ # 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"
+ fi
}
default_lang() {