1
0
mirror of https://github.com/go-gitea/git.git synced 2026-02-05 15:45:40 +01:00

Fix (hopefully) git 1.7.0 install

This commit is contained in:
Sandro Santilli
2017-11-13 23:33:26 +13:00
parent 3bde35d961
commit 93fb71c7fd

View File

@@ -20,17 +20,14 @@ pipeline:
- make lint
- git --version
- make test
- mkdir build \
&& curl -sL "https://github.com/git/git/archive/v1.7.0.tar.gz" -o git.tar.gz \
&& tar -C build -xzf git.tar.gz \
&& cd build/git-1.7.0 \
&& chmod +x configure \
&& ./configure \
&& make all \
&& make install PREFIX=/usr/local \
&& cd ../.. \
&& rm -rf build \
&& rm git.tar.gz
- mkdir build &&
curl -sL "https://github.com/git/git/archive/v1.7.0.tar.gz" -o git.tar.gz &&
tar -C build -xzf git.tar.gz &&
cd build/git-1.7.0 &&
make install PREFIX=/usr/local &&
cd ../.. &&
rm -rf build &&
rm git.tar.gz
- git --version
- hash -r
- git --version