Skip to content

Commit cef4b03

Browse files
committed
prevent local configuration breaking builds
* We use a lot of tools and the user’s configuration may interfere. * Prevents anything that builds do from breaking the user’s own config and system
1 parent 5b366a8 commit cef4b03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libexec/stage.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ const text = undent`
5959
set -x
6060
cd "${srcdir}"
6161
62+
export HOME="${srcdir}/xyz.tea.home"
6263
export SRCROOT="${srcdir}"
64+
export PREFIX=${flags.prefix}
6365
${expand(env)}
6466
67+
mkdir "$HOME"
68+
6569
export PATH=${brewkit}:"$PATH"
6670
6771
${pantry_sh}

0 commit comments

Comments
 (0)