mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-12 20:10:21 -06:00
Fix latest-git.sh
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user