summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-20 00:45:06 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 23:59:30 +0700
commitdc389e2c3c9d9593869b89098b76b36eec2ea5d3 (patch)
tree053e3c069e0ecd23f2028329222cdb1ac436090f /games
parenta4b36890f85cc6c59d79df1ae9505666314650b9 (diff)
downloadslackbuilds-dc389e2c3c9d9593869b89098b76b36eec2ea5d3.tar.gz
games/caph: Fixed file ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/caph/caph.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/caph/caph.SlackBuild b/games/caph/caph.SlackBuild
index 9acb7fa18c..771d3f893c 100644
--- a/games/caph/caph.SlackBuild
+++ b/games/caph/caph.SlackBuild
@@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION/src
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+cd src
+
./confg # configuration
./build # build source