diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-04-12 06:44:22 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-04-12 08:47:50 -0700 |
| commit | d1ef3d3b1d562e3362de0886b18c8cc2df85c4b7 (patch) | |
| tree | 1029eb6b53f5b037b0475c9e1e190b25e89f51bb /ci/lib.sh | |
| parent | 40c60f4c124d1ae59c0f05dcd37dbe0c63d64ab7 (diff) | |
| download | git-d1ef3d3b1d562e3362de0886b18c8cc2df85c4b7.tar.xz | |
ci: merge custom PATH directories
We're downloading various executables required by our tests. Each of
these executables goes into its own directory, which is then appended to
the PATH variable. Consequently, whenever we add a new dependency and
thus a new directory, we would have to adapt to this change in several
places.
Refactor this to instead put all binaries into a single directory.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/lib.sh')
| -rwxr-xr-x | ci/lib.sh | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -340,10 +340,6 @@ ubuntu-*) # image. # Keep that in mind when you encounter a broken OS X build! export LINUX_GIT_LFS_VERSION="1.5.2" - - P4_PATH="$HOME/custom/p4" - GIT_LFS_PATH="$HOME/custom/git-lfs" - export PATH="$GIT_LFS_PATH:$P4_PATH:$PATH" ;; macos-*) MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=$(which python3)" @@ -351,12 +347,12 @@ macos-*) then MAKEFLAGS="$MAKEFLAGS APPLE_COMMON_CRYPTO_SHA1=Yes" fi - - P4_PATH="$HOME/custom/p4" - export PATH="$P4_PATH:$PATH" ;; esac +CUSTOM_PATH="$HOME/path" +export PATH="$CUSTOM_PATH:$PATH" + case "$jobname" in linux32) CC=gcc |
