aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/fileutils.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-10-06 14:06:07 -0700
committerMisty De Meo2013-10-06 14:06:25 -0700
commitd53c9659fcf2bc12284ce0b7d261dc25df7fc647 (patch)
tree1ddfaa1020c76ac23a2073aa1f6c9e2b5020ac67 /Library/Homebrew/extend/fileutils.rb
parentef25a25ecd215081d229a4468bd5ed2a51fa2db7 (diff)
downloadhomebrew-d53c9659fcf2bc12284ce0b7d261dc25df7fc647.tar.bz2
FileUtils#copy_metadata: update comment, version
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)