aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/lock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/utils/lock.sh')
-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.