diff options
Diffstat (limited to 'Library/Homebrew/macos.rb')
| -rw-r--r-- | Library/Homebrew/macos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb index b3e4b6452..1caaa8b43 100644 --- a/Library/Homebrew/macos.rb +++ b/Library/Homebrew/macos.rb @@ -253,7 +253,7 @@ module MacOS extend self end def mdfind id - return [] unless MACOS + return [] unless OS.mac? (@mdfind ||= {}).fetch(id.to_s) do |key| @mdfind[key] = `/usr/bin/mdfind "kMDItemCFBundleIdentifier == '#{key}'"`.split("\n") end |
