diff options
| author | Misty De Meo | 2012-07-30 23:36:00 -0300 |
|---|---|---|
| committer | Misty De Meo | 2012-07-30 23:36:00 -0300 |
| commit | 9af7e25e034e1e109f02d6ad7642c424f1e54ff1 (patch) | |
| tree | 02f0625e6bce1685c3706e7844c093faf5529474 /Library | |
| parent | 2056e24a12a48b9776e78992cfe77494d64ca3f8 (diff) | |
| download | brew-9af7e25e034e1e109f02d6ad7642c424f1e54ff1.tar.bz2 | |
mdfind: don't strip
Since we're splitting on newlines, stripping shouldn't be necessary.
Diffstat (limited to 'Library')
| -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 0441c26f2..da179de31 100644 --- a/Library/Homebrew/macos.rb +++ b/Library/Homebrew/macos.rb @@ -269,7 +269,7 @@ module MacOS extend self end def mdfind attribute, id - path = `mdfind "#{attribute} == '#{id}'"`.split("\n").first.strip + path = `mdfind "#{attribute} == '#{id}'"`.split("\n").first Pathname.new(path) unless path.empty? end |
