diff --git a/modules/04-install-brew.sh b/modules/04-install-brew.sh index df0bc6d..349bb31 100755 --- a/modules/04-install-brew.sh +++ b/modules/04-install-brew.sh @@ -158,6 +158,8 @@ function createBrewCallerScript() { "HOMEBREW_LOGS=${homebrew_log}", format_env("HOME", "%s"), format_env("HOMEBREW_CASK_OPTS", "--no-quarantine %s"), + "HOMEBREW_PREFIX=${homebrewRepositoryPath}", + "HOMEBREW_CELLAR=${homebrewRepositoryPath}/Cellar", "HOMEBREW_NO_AUTO_UPDATE=1", "HOMEBREW_NO_ANALYTICS=1", "HOMEBREW_NO_ANALYTICS_THIS_RUN=1",