diff options
| author | Jack Nagel | 2014-04-06 00:31:07 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-06 00:31:07 -0500 |
| commit | 5724bf0bf64db43228bed989a6c7aa8b81a5263f (patch) | |
| tree | 15d11c3509222d7be34e5d98d15b514a168e5307 | |
| parent | 6d4882c607987d213e212e8d0fff87136ac7d300 (diff) | |
| download | homebrew-5724bf0bf64db43228bed989a6c7aa8b81a5263f.tar.bz2 | |
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.
| -rw-r--r-- | Library/Homebrew/formulary.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 710cd151d..ac4e8d18f 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 |
