diff options
| author | Jack Nagel | 2014-04-06 00:31:07 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-06 00:31:07 -0500 |
| commit | d0831c4ef70d6344bc63c304725d256dd86c5283 (patch) | |
| tree | b5103704a4344bbdfa1e43e3e894513c6205f208 /Library | |
| parent | f7f200591c1ce91f4f4ddee1a76b7e1e5d16a453 (diff) | |
| download | brew-d0831c4ef70d6344bc63c304725d256dd86c5283.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.
Diffstat (limited to 'Library')
| -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 |
