build(tools): link cloud setup tools onto the default PATH
This commit is contained in:
1 parent
a71f1e0817
commit
c792c552cf
1 file changed
+3
-2
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user