Fix build script
A git pull seems to cause things to go wrong. Just fetching the repository and checking out the version that we want seems to work better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
035e08e633
commit
84c8213e14
@ -77,7 +77,7 @@ if [ ! -d libgit2 ] ; then
|
||||
fi
|
||||
cd libgit2
|
||||
# let's build with a recent enough version of master for the latest features
|
||||
git pull origin master
|
||||
git fetch origin
|
||||
if ! git checkout v0.23.1 ; then
|
||||
echo "Can't find the right tag in libgit2 - giving up"
|
||||
exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user