From 3858602b9e130988a60e88840ea2502e03c37e8a Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Thu, 30 Apr 2015 06:54:00 -0700 Subject: libraries/libtar: Fix source. Signed-off-by: Ryan P.C. McQuen --- libraries/libtar/libtar.SlackBuild | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'libraries/libtar/libtar.SlackBuild') diff --git a/libraries/libtar/libtar.SlackBuild b/libraries/libtar/libtar.SlackBuild index bf1f01331e..1e84ff92de 100644 --- a/libraries/libtar/libtar.SlackBuild +++ b/libraries/libtar/libtar.SlackBuild @@ -30,7 +30,7 @@ PRGNAM=libtar VERSION=${VERSION:-1.2.20} -SRCVERSION=${SRCVERSION:-0907a9034eaf2a57e8e4a9439f793f3f05d446cd} +SRCVERSION=${SRCVERSION:-0907a90} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,13 +66,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM -if [ -e $CWD/$SRCVERSION.tar.gz ]; then - tar xvf $CWD/$SRCVERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz -fi -cd $PRGNAM +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz +cd $PRGNAM-$SRCVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -- cgit v1.2.3