diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/macos.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb index 191d7596b..e6b0fbee3 100644 --- a/Library/Homebrew/macos.rb +++ b/Library/Homebrew/macos.rb @@ -216,12 +216,12 @@ module MacOS extend self end def mdfind attribute, id - path = `mdfind "#{attribute} == '#{id}'"`.split("\n").first + path = `/usr/bin/mdfind "#{attribute} == '#{id}'"`.split("\n").first Pathname.new(path) unless path.nil? or path.empty? end def pkgutil_info id - `pkgutil --pkg-info #{id} 2>/dev/null`.strip + `/usr/sbin/pkgutil --pkg-info "#{id}" 2>/dev/null`.strip end def bottles_supported? |
