aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-01 20:49:11 -0500
committerJack Nagel2014-04-01 20:49:11 -0500
commit4830bdb5b7a99c5b29e85cef1751209f3010f482 (patch)
treed28e67288010f09e5d9c218e3cb1b2ac7c3611e5 /Library
parent0d3121f7811ed3bf55565065bf1ed2e1d1b646c2 (diff)
downloadbrew-4830bdb5b7a99c5b29e85cef1751209f3010f482.tar.bz2
The argument to pkgutil_info is always a string
Diffstat (limited to 'Library')
-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