aboutsummaryrefslogtreecommitdiff
path: root/libraries/giblib
diff options
context:
space:
mode:
authorС уважением, А.Карабанов <lksj@yandex.ru>2014-06-26 12:34:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-26 12:34:55 +0700
commitd157ef99d3c487dacc1f273d5b67081922f8e4c7 (patch)
tree29f05c1ee301a4165c6c64f8cb25344bd8940558 /libraries/giblib
parentee38bc1af3a10de2146601757dff6a06bdbf2697 (diff)
libraries/giblib: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/giblib')
-rw-r--r--libraries/giblib/giblib.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/giblib/giblib.SlackBuild b/libraries/giblib/giblib.SlackBuild
index cacb0cb9fa31e..96251200affbf 100644
--- a/libraries/giblib/giblib.SlackBuild
+++ b/libraries/giblib/giblib.SlackBuild
@@ -23,7 +23,7 @@
PRGNAM=giblib
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \