
It’s not uncommon to use `/var/${USER}` as a home directory, especially for shared or CLI-only users. This fixes an issue where a formula that requires `xcodebuild` is `brew install`ed from such a shared or CLI-only user account. In that case, `xcodebuild` would fail because it is denied writing to `/var/${USER}/Library/Developer/Xcode`. For details, see: https://gist.github.com/claui/17cd89f8f6b4094ac704f142ea811fd8 Suggested-by: Bo Anderson <mail@boanderson.me>
Library
This directory contains all the code run by the official brew
and brew cask
commands in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.