aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
diff options
context:
space:
mode:
authorMike McQuaid2016-09-17 10:15:13 +0100
committerGitHub2016-09-17 10:15:13 +0100
commit10f2bc2deabad58c4f6b80481ccc913faeb85510 (patch)
treea3b7be88aaa4a6d0cc07830f6800c3ecb4c0e349 /Library/Homebrew/utils
parent297eeac0d3e6fbb154bcc43570111777fb73bcfa (diff)
parente3609b6fd4001523679562c33064e17d03e1534f (diff)
downloadbrew-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.sh2
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.