aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-03-05 21:37:40 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-10 07:11:02 +0700
commit54389e6f0fd20a09b9ecc22acc0a94686ed8b637 (patch)
tree6947bb6ffca948f7317e5e2df834020ed77e3646 /academic
parente96a0b59dd3146b32198b1bc2189fe6fb4389b47 (diff)
academic/papi: Fixed ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/papi/papi.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/academic/papi/papi.SlackBuild b/academic/papi/papi.SlackBuild
index 9d42f2f3984d8..171b276dd92b9 100644
--- a/academic/papi/papi.SlackBuild
+++ b/academic/papi/papi.SlackBuild
@@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-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
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \