From 57e8f4946243ceddb339521e08e208464cfc6726 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 19 Jan 2016 23:38:21 +0000 Subject: Multiple: Support alternate tarball name. Signed-off-by: David Spencer --- python/PyXB/PyXB.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/PyXB/PyXB.SlackBuild') diff --git a/python/PyXB/PyXB.SlackBuild b/python/PyXB/PyXB.SlackBuild index 1f7c67aaac792..92097ccff2a67 100644 --- a/python/PyXB/PyXB.SlackBuild +++ b/python/PyXB/PyXB.SlackBuild @@ -59,8 +59,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +rm -rf pyxb-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/pyxb-$PRGNAM-$VERSION.tar.gz cd pyxb-$PRGNAM-$VERSION chown -R root:root . find -L . \ -- cgit v1.2.3