summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-02-19 23:13:06 -0600
committerErik Hanson <erik@slackbuilds.org>2014-02-21 14:40:51 -0600
commitb83cf584772d832f633386df2031833c02006bc4 (patch)
tree635cfe0b3ec5ec016213e1ee76212ee35203eb55 /libraries
parent6c01734c45d2edb9e901458849d3365691bc901c (diff)
downloadslackbuilds-b83cf584772d832f633386df2031833c02006bc4.tar.gz
libraries/eigen3: Fixup archive extraction in some cases
Thanks to Joseph Casey for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/eigen3/eigen3.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/eigen3/eigen3.SlackBuild b/libraries/eigen3/eigen3.SlackBuild
index b8c6c60ce8..9d1a17d1fb 100644
--- a/libraries/eigen3/eigen3.SlackBuild
+++ b/libraries/eigen3/eigen3.SlackBuild
@@ -29,7 +29,7 @@ VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-TARVERSION=eigen-5097c01bcdc4
+TARVERSION="eigen-5097c01bcdc4"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -64,7 +64,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf eigen-$TARVERSION
-tar xvf $CWD/$VERSION.tar.bz2
+tar xvf $CWD/$VERSION.tar.bz2 || tar xvf $CWD/eigen-$TARVERSION.tar.bz2
cd eigen-$TARVERSION
chown -R root:root .
find -L . \