summaryrefslogtreecommitdiff
path: root/libraries/libgit2/libgit2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libgit2/libgit2.SlackBuild')
-rw-r--r--libraries/libgit2/libgit2.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libgit2/libgit2.SlackBuild b/libraries/libgit2/libgit2.SlackBuild
index ebd2a3e4e3..b5082b3986 100644
--- a/libraries/libgit2/libgit2.SlackBuild
+++ b/libraries/libgit2/libgit2.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgit2
-VERSION=${VERSION:-0.21.1}
+VERSION=${VERSION:-0.21.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v${VERSION}.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 2>/dev/null || tar xvf $CWD/v${VERSION}.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \