summaryrefslogtreecommitdiff
path: root/script/install-libgit2.sh
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2016-08-27 21:07:44 +0200
committerCarlos Martín Nieto <[email protected]>2016-08-27 21:07:44 +0200
commitaadd0c2035d12b6469c53b7c444ea6fe1006c2c0 (patch)
treefd56478f8014dd41dcba043dc0677930d14c4b06 /script/install-libgit2.sh
parent37d3c2d9ad4c4e970cac02faec8ad184412c34e6 (diff)
parent241aa34d83b210ceaab7029c46e05794f2ea9797 (diff)
Merge remote-tracking branch 'upstream/master' into next
Diffstat (limited to 'script/install-libgit2.sh')
-rwxr-xr-xscript/install-libgit2.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/script/install-libgit2.sh b/script/install-libgit2.sh
index 9bf6b37..f2468c8 100755
--- a/script/install-libgit2.sh
+++ b/script/install-libgit2.sh
@@ -13,9 +13,10 @@ if [ "x$TRAVIS_BRANCH" = "xnext" ]; then
fi
cd "${HOME}"
-wget -O libgit2-0.23.1.tar.gz https://github.com/libgit2/libgit2/archive/v0.23.1.tar.gz
-tar -xzvf libgit2-0.23.1.tar.gz
-cd libgit2-0.23.1 && mkdir build && cd build
+LG2VER="0.24.0"
+wget -O libgit2-${LG2VER}.tar.gz https://github.com/libgit2/libgit2/archive/v${LG2VER}.tar.gz
+tar -xzvf libgit2-${LG2VER}.tar.gz
+cd libgit2-${LG2VER} && mkdir build && cd build
cmake -DTHREADSAFE=ON -DBUILD_CLAR=OFF -DCMAKE_BUILD_TYPE="RelWithDebInfo" .. && make && sudo make install
sudo ldconfig
cd "${TRAVIS_BUILD_DIR}"