diff options
| author | Jack Nagel | 2012-09-06 10:38:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-09-06 10:40:55 -0500 |
| commit | d4b50c71ae8c7bcca921c49d889e5eaa993f3f45 (patch) | |
| tree | 002a807360d07897a2325cf2205510dfe76064a5 /Library/Formula/csvprintf.rb | |
| parent | 1e58679928f171418586c16620f98a627e2da503 (diff) | |
| download | homebrew-d4b50c71ae8c7bcca921c49d889e5eaa993f3f45.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/Formula/csvprintf.rb')
0 files changed, 0 insertions, 0 deletions
