diff options
| author | Adam Vandenberg | 2012-03-30 23:02:32 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-30 23:02:43 -0700 |
| commit | bfbfdf03eb2bcbb73082af0325f85761ea87719e (patch) | |
| tree | 1f4655a57c448875f5e779e02ed4b667c349c5cc /Library | |
| parent | a0cb4e7c11e30ae15f121a2477e9cfbc25534368 (diff) | |
| download | brew-bfbfdf03eb2bcbb73082af0325f85761ea87719e.tar.bz2 | |
Show target path when empty
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 3adf6dfc2..797c89b7e 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -9,13 +9,13 @@ class Pathname case src when Array if src.empty? - opoo "install was passed an empty array" + opoo "tried to install empty array to #{self}" return [] end src.each {|s| results << install_p(s) } when Hash if src.empty? - opoo "install was passed an empty hash" + opoo "tried to install empty hash to #{self}" return [] end src.each {|s, new_basename| results << install_p(s, new_basename) } |
