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 --- system/blocks/blocks.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/blocks') diff --git a/system/blocks/blocks.SlackBuild b/system/blocks/blocks.SlackBuild index ebff0f1b02..cfbdb7ce9d 100644 --- a/system/blocks/blocks.SlackBuild +++ b/system/blocks/blocks.SlackBuild @@ -55,14 +55,14 @@ else LIBDIRSUFFIX="" fi -set -e +set -e # Prepare directories rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$COMMIT.tar.gz +rm -rf $PRGNAM-$COMMIT +tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz || tar xvf $CWD/$COMMIT.tar.gz cd $PRGNAM-$COMMIT chown -R root:root . find -L . \ -- cgit v1.2.3