diff options
| author | ilovezfs | 2016-02-02 23:37:42 -0800 |
|---|---|---|
| committer | Xu Cheng | 2016-02-05 21:52:11 +0800 |
| commit | fb9818ae8c3cb3bda4182fc1c0fcb6f1e55e4374 (patch) | |
| tree | b558399c33ad87518e2168ec11381526fad1ac85 /Library/Homebrew/test/lib | |
| parent | 58cf0ec2b908d4bcd12d77036ef8eac60ee95697 (diff) | |
| download | brew-fb9818ae8c3cb3bda4182fc1c0fcb6f1e55e4374.tar.bz2 | |
HOMEBREW_BREW_FILE was unset for the tests
This fixes a regression introduced by 3f6a355, which caused
HOMEBREW_BREW_FILE to be unset while running the tests.
Patch provided by Xu Cheng.
Diffstat (limited to 'Library/Homebrew/test/lib')
| -rw-r--r-- | Library/Homebrew/test/lib/config.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/lib/config.rb b/Library/Homebrew/test/lib/config.rb index 39c4ae27f..527f2117f 100644 --- a/Library/Homebrew/test/lib/config.rb +++ b/Library/Homebrew/test/lib/config.rb @@ -1,6 +1,7 @@ require "tmpdir" require "pathname" +HOMEBREW_BREW_FILE = ENV["HOMEBREW_BREW_FILE"] HOMEBREW_TEMP = Pathname.new(ENV["HOMEBREW_TEMP"] || Dir.tmpdir) TEST_TMPDIR = ENV.fetch("HOMEBREW_TEST_TMPDIR") { |k| |
