aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-04-01 20:49:11 -0500
committerJack Nagel2014-04-01 20:49:11 -0500
commit9b96c330e0df97645ea349164a582239cd9c8762 (patch)
treee109f00c54079ba4314d2937e7c1a3da0058af16 /Library/Homebrew
parent1fa5da56ac19fd0a58bb024d49443e114288c4b8 (diff)
downloadhomebrew-9b96c330e0df97645ea349164a582239cd9c8762.tar.bz2
The argument to pkgutil_info is always a string
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/os/mac.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb
index 7fa95cd56..c4437f0fd 100644
--- a/Library/Homebrew/os/mac.rb
+++ b/Library/Homebrew/os/mac.rb
@@ -282,7 +282,7 @@ module OS
end
def pkgutil_info(id)
- (@pkginfo ||= {}).fetch(id.to_s) do |key|
+ (@pkginfo ||= {}).fetch(id) do |key|
@pkginfo[key] = `/usr/sbin/pkgutil --pkg-info "#{key}" 2>/dev/null`.strip
end
end