aboutsummaryrefslogtreecommitdiff
path: root/mkslackinfo
diff options
context:
space:
mode:
Diffstat (limited to 'mkslackinfo')
-rwxr-xr-xmkslackinfo5
1 files changed, 3 insertions, 2 deletions
diff --git a/mkslackinfo b/mkslackinfo
index 85967a9..70ec4cc 100755
--- a/mkslackinfo
+++ b/mkslackinfo
@@ -323,8 +323,9 @@ rm -rf $PRGNAM-$VERSION
__EXTRACT__
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod -h 755 {} + -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod -h 644 {} +
+find . ! -type l -a \
+ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \
+ \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \)
__BUILD__
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la