aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-01 18:47:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-02 08:37:45 +0700
commitb24e784cd5d3ae50a6fa66cd54c8ddaaa9936acb (patch)
treef93579a7a9ccd6d728bd663a51f00bddcfc80645 /office
parent7796dbefe45bf1844fcc84fe27de8985a8bd9f01 (diff)
office/wps-office: Use local path instead of all /tmp/SBo.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/wps-office/wps-office.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/office/wps-office/wps-office.SlackBuild b/office/wps-office/wps-office.SlackBuild
index 31c3e21374825..16221a6f51407 100644
--- a/office/wps-office/wps-office.SlackBuild
+++ b/office/wps-office/wps-office.SlackBuild
@@ -51,8 +51,8 @@ DESTDIR=$PKG/opt/kingsoft
mkdir -p $DESTDIR/$PRGNAM
cd $TMP
tar xJvf $CWD/$PRGNAM$SRCVER.tar.xz
-chown -R root:root .
-find -L . \
+chown -R root:root $PRGNAM$SRCVER
+find -L $PRGNAM$SRCVER \
\( -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 \