diff options
Diffstat (limited to 'Library/Homebrew/cmd/test-bot.rb')
-rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index c0955f4ac..b633a4cb7 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -11,7 +11,7 @@ # --email: Generate an email subject file. # --no-bottle: Run brew install without --build-bottle # --HEAD: Run brew install with --HEAD -# --local: Ask Homebrew to write verbose logs under ./logs/ +# --local: Ask Homebrew to write verbose logs under ./logs/ and set HOME to ./home/ # --tap=<tap>: Use the git repository of the given tap # --dry-run: Just print commands, don't run them. # @@ -535,6 +535,8 @@ module Homebrew end if ARGV.include? '--local' + ENV['HOME'] = "#{Dir.pwd}/home" + mkdir_p ENV['HOME'] ENV['HOMEBREW_LOGS'] = "#{Dir.pwd}/logs" end |