From d0831c4ef70d6344bc63c304725d256dd86c5283 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 6 Apr 2014 00:31:07 -0500 Subject: [PATCH] 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. --- Library/Homebrew/formulary.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 710cd151d7..ac4e8d18f7 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -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