mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 21:58:26 +02:00
ci/init-stage2: symlink install dir between both CI_PROJECT_DIR paths
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
This commit is contained in:
parent
3f5d4eac5f
commit
051ff429fd
1 changed files with 5 additions and 0 deletions
|
|
@ -41,6 +41,11 @@ trap cleanup INT TERM EXIT
|
|||
# background by this script
|
||||
BACKGROUND_PIDS=
|
||||
|
||||
# Until we uniformize the install dir to /install, we need to make it
|
||||
# available to both possible CI_PROJECT_DIR paths.
|
||||
if [ "$GIT_STRATEGY" = empty ]; then
|
||||
ln -s "$CI_PROJECT_DIR" "${CI_PROJECT_DIR%-empty}"
|
||||
fi
|
||||
|
||||
for path in '/dut-env-vars.sh' '/set-job-env-vars.sh' './set-job-env-vars.sh'; do
|
||||
[ -f "$path" ] && source "$path"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue