summaryrefslogtreecommitdiffstats
path: root/development/autogen/autogen.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/autogen/autogen.SlackBuild')
-rw-r--r--development/autogen/autogen.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/development/autogen/autogen.SlackBuild b/development/autogen/autogen.SlackBuild
index 833e9ee4b7..33d87f4025 100644
--- a/development/autogen/autogen.SlackBuild
+++ b/development/autogen/autogen.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for autogen
# Copyright 2012 crocket crockabiscuit@gmail.com
+# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -63,11 +64,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \