aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-30 21:34:30 -0700
committerJunio C Hamano <gitster@pobox.com>2020-07-30 21:34:30 -0700
commit06df6b5fd92cc7dd4650d2db9f642ce504b56eb8 (patch)
tree2d7d8fe2149133a4ae7d11f0b23d9fde1da745ab
parent5d4e13f6dfa28d31513dc286a52e33e672eea70a (diff)
parent60e47f67731e99f4d5bd8b20c406a0b4cd4b7985 (diff)
downloadgit-06df6b5fd92cc7dd4650d2db9f642ce504b56eb8.tar.gz
Merge branch 'sg/ci-git-path-fix-with-pyenv' into master
CI fixup---tests of Python scripts didn't use the version of Git that is being tested. * sg/ci-git-path-fix-with-pyenv: ci: use absolute PYTHON_PATH in the Linux jobs
-rwxr-xr-xci/lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/lib.sh b/ci/lib.sh
index ff24c547c8..3eefec500d 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -184,9 +184,9 @@ linux-clang|linux-gcc)
if [ "$jobname" = linux-gcc ]
then
export CC=gcc-8
- MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=$(which python3)"
+ MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=/usr/bin/python3"
else
- MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=$(which python2)"
+ MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=/usr/bin/python2"
fi
export GIT_TEST_HTTPD=true