diff options
| author | Xu Cheng | 2016-06-08 17:29:03 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-06-08 17:29:03 +0800 |
| commit | 8d64b6a02d78811f50d5f747ce10df09d54b4791 (patch) | |
| tree | ba5b5f2691569591fb98c6a4a81c9c8ac676882e /Library/Homebrew/test/testing_env.rb | |
| parent | 21ca138edf584daebf1795a52d6edd6ec34ce605 (diff) | |
| download | brew-8d64b6a02d78811f50d5f747ce10df09d54b4791.tar.bz2 | |
introduce global lock directory (#337)
Since #292, HOMEBREW_CACHE was moved to a per-user directory. This makes
it unsuitable to store global lock files on multiple users environment.
Therefore, introducing a global lock directory `/Library/Lock.d` to
store lock files from formula lockers as well as `brew update`.
Diffstat (limited to 'Library/Homebrew/test/testing_env.rb')
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index b70b6cd6d..4e7089e42 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -7,7 +7,7 @@ require "formulary" # Test environment setup (HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-core/Formula").mkpath -%w[cache formula_cache cellar logs].each { |d| HOMEBREW_PREFIX.parent.join(d).mkpath } +%w[cache formula_cache locks cellar logs].each { |d| HOMEBREW_PREFIX.parent.join(d).mkpath } # Test fixtures and files can be found relative to this path TEST_DIRECTORY = File.dirname(File.expand_path(__FILE__)) |
