Compare pathnames directly
This commit is contained in:
parent
7966b29ac6
commit
6d949599b5
@ -452,7 +452,7 @@ class Formula
|
||||
|
||||
# True if this formula is provided by Homebrew itself
|
||||
def core_formula?
|
||||
path.realpath.to_s == Formula.path(name).to_s
|
||||
path.realpath == Formula.path(name)
|
||||
end
|
||||
|
||||
def self.path name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user