summaryrefslogtreecommitdiffstats
path: root/games/arnold-cpc
diff options
context:
space:
mode:
author David Spencer2016-01-20 01:44:41 +0100
committer Willy Sudiarto Raharjo2016-01-20 17:59:30 +0100
commita4b36890f85cc6c59d79df1ae9505666314650b9 (patch)
treebbce7f00800e18bb343b8d893ab7f47021e5ef61 /games/arnold-cpc
parentb987dc90f388cf8742a658a912d2d3b783be066c (diff)
downloadslackbuilds-a4b36890f85cc6c59d79df1ae9505666314650b9.tar.gz
games/arnold-cpc: Fixed file ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/arnold-cpc')
-rw-r--r--games/arnold-cpc/arnold-cpc.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/arnold-cpc/arnold-cpc.SlackBuild b/games/arnold-cpc/arnold-cpc.SlackBuild
index 15c4bd035c..dc4d8e21a7 100644
--- a/games/arnold-cpc/arnold-cpc.SlackBuild
+++ b/games/arnold-cpc/arnold-cpc.SlackBuild
@@ -64,7 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCDIR
tar xvf $CWD/$SRCNAM-$SRCVER.tar.bz2
-cd $SRCDIR/src # enter source code
+cd $SRCDIR
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,6 +72,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
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \