From 6fb1f2295ffc76e11e1f82b1c0b05e59bc526eb2 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Mon, 12 Oct 2026 02:44:11 +1100 Subject: [PATCH] build(tools): link cloud setup tools onto the default PATH --- tools/cloud-setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/cloud-setup.sh b/tools/cloud-setup.sh index 666155e56..89f4eaa31 100755 --- a/tools/cloud-setup.sh +++ b/tools/cloud-setup.sh @@ -58,8 +58,9 @@ s.attribution = { ...s.attribution, commit: "", pr: "", sessionUrl: false }; fs.writeFileSync(p, JSON.stringify(s, null, 2) + "\n"); ' "$settings" -profile=/etc/profile.d/archie-go.sh -echo 'export PATH="/usr/local/go/bin:$HOME/go/bin:$PATH"' | $SUDO tee "$profile" >/dev/null +# The session shell is not a login shell, so profile.d is never read. Link the +# tools onto the default PATH instead. +$SUDO ln -sf /usr/local/go/bin/* "$GOBIN"/* /usr/local/bin/ # Warm module and npm caches when the checkout is already present. repo=${CLAUDE_PROJECT_DIR:-$PWD}