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/lib/config.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/lib/config.rb')
| -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 f6e601d52..10c3c8cd7 100644 --- a/Library/Homebrew/test/lib/config.rb +++ b/Library/Homebrew/test/lib/config.rb @@ -18,6 +18,7 @@ HOMEBREW_ENV_PATH      = HOMEBREW_LIBRARY_PATH.parent+"ENV"  HOMEBREW_LOAD_PATH     = [File.expand_path("..", __FILE__), HOMEBREW_LIBRARY_PATH].join(":")  HOMEBREW_CACHE         = HOMEBREW_PREFIX.parent+"cache"  HOMEBREW_CACHE_FORMULA = HOMEBREW_PREFIX.parent+"formula_cache" +HOMEBREW_LOCK_DIR      = HOMEBREW_PREFIX.parent+"locks"  HOMEBREW_CELLAR        = HOMEBREW_PREFIX.parent+"cellar"  HOMEBREW_LOGS          = HOMEBREW_PREFIX.parent+"logs"  | 
