diff options
| author | Mike McQuaid | 2014-10-16 09:01:10 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-19 13:33:41 +0100 |
| commit | b91b23f8d02b38dd95b47aae111a53a775e460d9 (patch) | |
| tree | d580be014c9aeda17793f821b360dfc86ffc22ac | |
| parent | b6c2c8cdc80a0d1a92edee0265e5268724a44b15 (diff) | |
| download | brew-b91b23f8d02b38dd95b47aae111a53a775e460d9.tar.bz2 | |
brew-test-bot: set HOME.
Stop dumping files in the real HOME and allow Jenkins to handle
workspace cleanup instead.
| -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 |
