Always resolve one symlink when loading formula files

This means that tapped formula will always have the correct path, and we
can stop calling realpath everywhere.
This commit is contained in:
Jack Nagel 2014-04-06 00:31:07 -05:00
parent f7f200591c
commit d0831c4ef7

View File

@ -39,7 +39,7 @@ class Formulary
def initialize(name, path)
@name = name
@path = path
@path = path.resolved_path
@class_name = Formulary.class_s(name)
end