aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/lock.sh
AgeCommit message (Collapse)Author
2016-11-11Check the lock directory is writable.Mike McQuaid
And, if it isn't, print more helpful debugging messages. Fixes #1456.
2016-09-16Move LinkedKegs/PinnedKegs/Locks from Library.Mike McQuaid
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.
2016-06-29utils/lock.sh: remove redundant 'local'Martin Afanasjew
2016-06-08introduce global lock directory (#337)Xu Cheng
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`.
2016-05-23utils/lock.sh: default to system Ruby if available (#271)Mike McQuaid
This avoids weird issues with custom Rubies. Closes #253.
2016-05-12add utils/lock.shXu Cheng
a Bash implementation of lock using `flock(2)`.