diff options
| author | Jack Nagel | 2014-04-01 20:49:11 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-01 20:49:11 -0500 |
| commit | 4830bdb5b7a99c5b29e85cef1751209f3010f482 (patch) | |
| tree | d28e67288010f09e5d9c218e3cb1b2ac7c3611e5 /Library | |
| parent | 0d3121f7811ed3bf55565065bf1ed2e1d1b646c2 (diff) | |
| download | brew-4830bdb5b7a99c5b29e85cef1751209f3010f482.tar.bz2 | |
The argument to pkgutil_info is always a string
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 2 |
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 |
