From 2d03e67bbfcaa3f384b1edd6dacbb3cd32e6af6c Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 22 Oct 2024 08:14:52 +0100 Subject: [PATCH] ci/angle: Use relative paths When we use build-angle as a sourced script, $0 refers to the overall build script, which may not be in .gitlab-ci/container/. Signed-off-by: Daniel Stone Part-of: --- .gitlab-ci/container/build-angle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/container/build-angle.sh b/.gitlab-ci/container/build-angle.sh index bdf11fa0781..96467909e86 100644 --- a/.gitlab-ci/container/build-angle.sh +++ b/.gitlab-ci/container/build-angle.sh @@ -7,7 +7,7 @@ set -uex ANGLE_REV="76025caa1a059f464a2b0e8f879dbd4746f092b9" -SCRIPTS_DIR="$(realpath "$(dirname "$0")/..")" +SCRIPTS_DIR="$(pwd)/.gitlab-ci" ANGLE_PATCH_DIR="${SCRIPTS_DIR}/container/patches" # DEPOT tools