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