aboutsummaryrefslogtreecommitdiff
path: root/libraries/ogre
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-11-18 02:33:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-18 02:33:23 +0700
commit4f5caf369b6654f4ce4aec207310eb843b83d439 (patch)
treef22c5e2a745f907deb77f8d0435aa54c6337b760 /libraries/ogre
parentbaade6bd25518d02784347efc8689a650579c336 (diff)
libraries/ogre: Fix wget command.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ogre')
-rw-r--r--libraries/ogre/ogre.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild
index 9e97a0433d094..ea0c8a24894f3 100644
--- a/libraries/ogre/ogre.SlackBuild
+++ b/libraries/ogre/ogre.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=ogre
VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="${PRGNAM}_src_v${VERSION//./-}"
@@ -83,7 +83,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM
-tar xvf $CWD/$SRCNAM.tar.bz2
+tar xvf $CWD/$SRCNAM.tar.bz2 || tar xvf $CWD/v$(echo $VERSION | tr . -).tar.bz2
cd $SRCNAM
chown -R root:root .
find -L . \