aboutsummaryrefslogtreecommitdiff
path: root/libraries/libnfs
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-17 00:00:03 +0000
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 22:57:04 -0600
commit8f5d283aff1b1d0f6cba9cb7666342d25f591e7a (patch)
tree008d009e5b581745fc5ae3cb7be2ab92ecb77798 /libraries/libnfs
parent59a5f2f1e5a4c8137a5a17240b71c227cefc7c26 (diff)
libraries/libnfs: Fixed tarball extraction
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libnfs')
-rw-r--r--libraries/libnfs/libnfs.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/libnfs/libnfs.SlackBuild b/libraries/libnfs/libnfs.SlackBuild
index 4148709094f89..1d739de487d9b 100644
--- a/libraries/libnfs/libnfs.SlackBuild
+++ b/libraries/libnfs/libnfs.SlackBuild
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$PRGNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \