summaryrefslogtreecommitdiff
path: root/system/blocks
diff options
context:
space:
mode:
Diffstat (limited to 'system/blocks')
-rw-r--r--system/blocks/blocks.SlackBuild6
1 files changed, 3 insertions, 3 deletions
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 . \