summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Isaac Yu2020-01-28 13:18:18 +0100
committer Willy Sudiarto Raharjo2020-01-28 13:18:18 +0100
commitfd2421035c887675893a01f8fbedd02841141b90 (patch)
treef3d2edf2b8f591dea4ac270c5356dcf5d36ae95a /system
parentfdf138149361af0667792cdc6be39b509d3812a8 (diff)
downloadslackbuilds-fd2421035c887675893a01f8fbedd02841141b90.tar.gz
system/gcdemu: Fix permission checking.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/gcdemu/gcdemu.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/gcdemu/gcdemu.SlackBuild b/system/gcdemu/gcdemu.SlackBuild
index 2cbe862db3..e06410655d 100644
--- a/system/gcdemu/gcdemu.SlackBuild
+++ b/system/gcdemu/gcdemu.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=gcdemu
VERSION=${VERSION:-3.2.4}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -44,7 +44,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -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 {} \;