aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-20 12:49:35 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-26 08:10:00 +0700
commited65cb08e12938092dafe471a1085d4700b09af2 (patch)
treefc9f91c72a76009a4fe04486fa37db67e7de3934 /multimedia
parentda149cf103090d993669ad55c89fcdcbba2b46ca (diff)
multimedia/x265: Handle badly-named download file.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x265/x265.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/x265/x265.SlackBuild b/multimedia/x265/x265.SlackBuild
index cc536c534423..9a884c542919 100644
--- a/multimedia/x265/x265.SlackBuild
+++ b/multimedia/x265/x265.SlackBuild
@@ -62,7 +62,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf multicoreware-$PRGNAM-$SRCNAM
-tar xvf $CWD/$SRCNAM-$PRGNAM-$REVISION.tar.bz2 || tar xvf $CWD/$VERSION.tar.bz2
+tar xvf $CWD/$SRCNAM-$PRGNAM-$REVISION.tar.bz2 || \
+ tar xvf $CWD/$VERSION.tar.bz2 || \
+ tar xvf $CWD/multicoreware-$PRGNAM-$SRCNAM.tar.bz2
cd multicoreware-$PRGNAM-$SRCNAM
chown -R root:root .
find -L . \