summaryrefslogtreecommitdiff
path: root/system/zarfy/zarfy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/zarfy/zarfy.SlackBuild')
-rw-r--r--system/zarfy/zarfy.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/zarfy/zarfy.SlackBuild b/system/zarfy/zarfy.SlackBuild
index 5cfe2fa967..18ee1d21e2 100644
--- a/system/zarfy/zarfy.SlackBuild
+++ b/system/zarfy/zarfy.SlackBuild
@@ -25,7 +25,7 @@
# Maintained by Marc Dix
PRGNAM=zarfy
-VERSION=0.1.0
+VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -66,11 +66,11 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chown -R root:root .
-find . \
+find -L . \
\( -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 {} \;
+ \( -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" \