diff options
| author | Mike McQuaid | 2016-09-17 10:15:13 +0100 |
|---|---|---|
| committer | GitHub | 2016-09-17 10:15:13 +0100 |
| commit | 10f2bc2deabad58c4f6b80481ccc913faeb85510 (patch) | |
| tree | a3b7be88aaa4a6d0cc07830f6800c3ecb4c0e349 /Library/Homebrew/utils | |
| parent | 297eeac0d3e6fbb154bcc43570111777fb73bcfa (diff) | |
| parent | e3609b6fd4001523679562c33064e17d03e1534f (diff) | |
| download | brew-10f2bc2deabad58c4f6b80481ccc913faeb85510.tar.bz2 | |
Merge pull request #973 from MikeMcQuaid/move-repo-links
Move LinkedKegs/PinnedKegs/Locks from Library.
Diffstat (limited to 'Library/Homebrew/utils')
| -rw-r--r-- | Library/Homebrew/utils/lock.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/lock.sh b/Library/Homebrew/utils/lock.sh index ab6d2533d..cc041fa74 100644 --- a/Library/Homebrew/utils/lock.sh +++ b/Library/Homebrew/utils/lock.sh @@ -3,7 +3,7 @@ # Noted due to the fixed FD, a shell process can only create one lock. lock() { local name="$1" - local lock_dir="$HOMEBREW_LIBRARY/Locks" + local lock_dir="$HOMEBREW_PREFIX/var/homebrew/locks" local lock_file="$lock_dir/$name" [[ -d "$lock_dir" ]] || mkdir -p "$lock_dir" # 200 is the file descriptor used in the lock. |
