From 25ab8212a05e8775fcbb05c3cfc5a8e619c38b3d Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 6 Oct 2013 14:06:07 -0700 Subject: FileUtils#copy_metadata: update comment, version --- Library/Homebrew/extend/fileutils.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/extend/fileutils.rb') 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) -- cgit v1.2.3