From 3eaf618acf7e7b9b8121e51c4a97de754a857e72 Mon Sep 17 00:00:00 2001 From: saphid <4596216+saphid@users.noreply.github.com> Date: Sun, 27 Sep 2026 09:43:12 +1000 Subject: [PATCH] build.sh: make CHROMIUM_XR_DIR absolute so relative paths work Found in review by GPT-6 Astra. Co-Authored-By: Claude Opus 5.5 (1M context) --- build/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/build.sh b/build/build.sh index 4099ea2..6f307fb 100755 --- a/build/build.sh +++ b/build/build.sh @@ -21,6 +21,8 @@ PATCHES=$(cd "$(dirname "$0")/../patches" && pwd) CL_REF=${CL_REF:-refs/changes/79/8132979/44} mkdir -p "$W" +# Absolute, so the paths below still work after the cd (e.g. CHROMIUM_XR_DIR=work). +W=$(cd "$W" && pwd) cd "$W" stage() { echo "$(date -Is) $*" | tee -a "$W/stage"; } # Stops the build before the disk fills up.