diff options
| author | Jack Nagel | 2013-04-14 23:48:20 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-14 23:48:20 -0500 |
| commit | bc33a4090754532cebdd7d7b7d5ca3e2a02cd509 (patch) | |
| tree | b6a746473eb5c49d3bf5989eadc7d666a964df27 /Library/Homebrew/cmd | |
| parent | 176908621dcd7504b9a3160b743d3012341b36d0 (diff) | |
| download | homebrew-bc33a4090754532cebdd7d7b7d5ca3e2a02cd509.tar.bz2 | |
Avoid repeated interpolation here too
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 35631956c..1bab04a7d 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -204,7 +204,7 @@ def check_for_broken_symlinks Keg::PRUNEABLE_DIRECTORIES.each do |d| next unless d.directory? d.find do |pn| - broken_symlinks << pn if pn.symlink? and pn.readlink.expand_path.to_s =~ /^#{HOMEBREW_PREFIX}/ and not pn.exist? + broken_symlinks << pn if pn.symlink? and pn.readlink.expand_path.to_s =~ /^#{HOMEBREW_PREFIX}/o and not pn.exist? end end unless broken_symlinks.empty? then <<-EOS.undent |
