Fix latest-git.sh

This commit is contained in:
Anthony Sottile
2016-11-07 10:37:46 -08:00
parent 9ef0c06d3f
commit a5aa32ee72
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ before_install:
- |
if [ "$LATEST_GIT" = "1" ]; then
./latest-git.sh
export PATH="/tmp/git:$PATH"
export PATH="/tmp/git/bin:$PATH"
fi
- git --version
after_success:

View File

@@ -3,5 +3,6 @@
set -ex
git clone git://github.com/git/git --depth 1 /tmp/git
pushd /tmp/git
make -j 8
make prefix=/tmp/git -j 8 all
make prefix=/tmp/git install
popd