Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fileutils: don't alias copy_metadata on 1.8.2

  • Loading branch information...
commit 4102f335043db195360dd840f53a2f485e451a19 1 parent 80b9fdc
@mistydemeo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Library/Homebrew/extend/fileutils.rb
View
2  Library/Homebrew/extend/fileutils.rb
@@ -43,7 +43,7 @@ def mkdir name, &block
# The monkey-patched method here is copied directly from upstream fix.
if RUBY_VERSION < "1.9.3" or RUBY_PATCHLEVEL < 195
class Entry_
- alias_method :old_copy_metadata, :copy_metadata
+ alias_method :old_copy_metadata, :copy_metadata if RUBY_VERSION > "1.8.2"
def copy_metadata(path)
st = lstat()
if !st.symlink?
Please sign in to comment.
Something went wrong with that request. Please try again.