aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9e97a0433d09..ea0c8a24894f 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 . \