diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-19 23:38:21 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 23:59:30 +0700 |
commit | 57e8f4946243ceddb339521e08e208464cfc6726 (patch) | |
tree | 8f374145f4f2f91d14a998cfeafbabba41d097ba /system/blocks | |
parent | 8d48b4421183a399a80032e97072d0a32dc92f8e (diff) |
Multiple: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/blocks')
-rw-r--r-- | system/blocks/blocks.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/blocks/blocks.SlackBuild b/system/blocks/blocks.SlackBuild index ebff0f1b02c08..cfbdb7ce9d644 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 . \ |