aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-30 23:02:32 -0700
committerAdam Vandenberg2012-03-30 23:02:43 -0700
commitbfbfdf03eb2bcbb73082af0325f85761ea87719e (patch)
tree1f4655a57c448875f5e779e02ed4b667c349c5cc /Library
parenta0cb4e7c11e30ae15f121a2477e9cfbc25534368 (diff)
downloadbrew-bfbfdf03eb2bcbb73082af0325f85761ea87719e.tar.bz2
Show target path when empty
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb4
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) }