summaryrefslogtreecommitdiff
path: root/script/build-libgit2-static.sh
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-06-07 02:58:28 +0200
committerCarlos Martín Nieto <[email protected]>2014-06-07 03:03:04 +0200
commitc734fc2a6b015f5b38f30da106736877cfbe02c7 (patch)
tree3b1609277c8f355005c7fd5642d9e2102f1caee4 /script/build-libgit2-static.sh
parent064629428296914c4a5875f8da6b557d55f82930 (diff)
Use a submodule for libgit2
This makes building the static version easier as we know where the repo is and that it's has a known-good version.
Diffstat (limited to 'script/build-libgit2-static.sh')
-rwxr-xr-xscript/build-libgit2-static.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/script/build-libgit2-static.sh b/script/build-libgit2-static.sh
index 04c649d..e486d1d 100755
--- a/script/build-libgit2-static.sh
+++ b/script/build-libgit2-static.sh
@@ -4,11 +4,6 @@ set -ex
VENDORED_PATH=vendor/libgit2
-# Make sure we have the latest libgit2
-if [ ! -d $VENDORED_PATH ]; then
- git clone --depth 1 --single-branch git://github.com/libgit2/libgit2 $VENDORED_PATH
-fi
-
cd $VENDORED_PATH
cmake -DTHREADSAFE=ON \