diff options
| author | Max Howell | 2012-03-19 00:15:40 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-19 00:28:38 +0000 |
| commit | c3370c48ce3ec6d00387e427413e46ca65d585d8 (patch) | |
| tree | a2a5a616c2431ed147dc36771694a47fd9ccbd2f /Library/Homebrew/cmd/outdated.rb | |
| parent | 8088f6c17b7ab7cdd8f46d3422ae080f844dbaf0 (diff) | |
| download | brew-c3370c48ce3ec6d00387e427413e46ca65d585d8.tar.bz2 | |
Better error when linking fails
Refs http://stackoverflow.com/questions/9762943
The system ln no longer outputs anything. Though the user can force its output with a --verbose of course. So in cases where it's not the usual of: not writable or existing file, we can ask the user to run with --verbose. I don't particularly like hiding its output, but it just confused the error IMO since it is creating a relative symlink the output was weird every time I've seen it in tickets.
I made a print wrapper so that the brew-link output doesn't get mucked up if an exception is thrown.
Diffstat (limited to 'Library/Homebrew/cmd/outdated.rb')
0 files changed, 0 insertions, 0 deletions
