diff options
| author | Misty De Meo | 2013-10-06 14:06:07 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-10-06 14:06:25 -0700 |
| commit | 25ab8212a05e8775fcbb05c3cfc5a8e619c38b3d (patch) | |
| tree | d337c7cfa2863ca6ca5df17354ad02b98977b4d6 /Library/Homebrew/extend/fileutils.rb | |
| parent | fb929f429f06131635b73c58a28175ec01d1306b (diff) | |
| download | brew-25ab8212a05e8775fcbb05c3cfc5a8e619c38b3d.tar.bz2 | |
FileUtils#copy_metadata: update comment, version
Diffstat (limited to 'Library/Homebrew/extend/fileutils.rb')
| -rw-r--r-- | Library/Homebrew/extend/fileutils.rb | 4 |
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) |
