aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/fileutils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/extend/fileutils.rb')
-rw-r--r--Library/Homebrew/extend/fileutils.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/fileutils.rb b/Library/Homebrew/extend/fileutils.rb
index 9fb8c3878..881c56590 100644
--- a/Library/Homebrew/extend/fileutils.rb
+++ b/Library/Homebrew/extend/fileutils.rb
@@ -39,9 +39,9 @@ module FileUtils extend self
# bad bug which causes copying symlinks across filesystems to fail;
# see #14710.
# This was resolved in Ruby HEAD after the release of 1.9.3p194, but
- # as of September 2012 isn't in any released version of Ruby.
+ # never backported into the 1.9.3 branch. Fixed in 2.0.0.
# The monkey-patched method here is copied directly from upstream fix.
- if RUBY_VERSION < "1.9.3" or RUBY_PATCHLEVEL < 195
+ if RUBY_VERSION < "2.0.0"
class Entry_
alias_method :old_copy_metadata, :copy_metadata
def copy_metadata(path)