aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2012-09-06 10:38:58 -0500
committerJack Nagel2012-09-06 10:40:55 -0500
commitc227792bc16c930d637ef3a255b1848cf8eb9aa6 (patch)
tree63ced2cb01195ed4ea1bad4708d969b093182081 /Library/Homebrew/cmd
parentb20c35cf0e16be41b59c92666c7a529f09238f1f (diff)
downloadbrew-c227792bc16c930d637ef3a255b1848cf8eb9aa6.tar.bz2
Don't raise when expanding ORIGINAL_PATHS
File.expand_path raises ArgumentError when it is passed a path with a nonexistent username, e.g.: $ PATH=~foo/bin:$PATH brew /usr/local/Library/Homebrew/global.rb:97:in `expand_path': user foo doesn't exist (ArgumentError) However, `brew doctor` does its own expansion of PATH entries and outputs warnings if this happens, so let's just ignore it here and continue on our way. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions