diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 3adf6dfc27..797c89b7e2 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) }