From e3609b6fd4001523679562c33064e17d03e1534f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 16 Sep 2016 13:51:21 +0100 Subject: Move LinkedKegs/PinnedKegs/Locks from Library. These don't make sense to be tied to the `HOMEBREW_REPOSITORY` but instead should live in the `HOMEBREW_PREFIX` as they all relate to its state. --- Library/Homebrew/utils/lock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/utils') 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. -- cgit v1.2.3