diff options
| author | Jack Nagel | 2014-04-05 17:41:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-05 17:41:36 -0500 |
| commit | 2b8f1ca94b7e1c2e85bd072859a65231b3f78f23 (patch) | |
| tree | 882a937c2c09ef595703714c4e49232d41076794 | |
| parent | ce367e711be8e4f2a08357705dafa5bc375da99b (diff) | |
| download | brew-2b8f1ca94b7e1c2e85bd072859a65231b3f78f23.tar.bz2 | |
FromPathLoader already calls expand_path
| -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 232e2a108..c2f977c2e 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -180,7 +180,7 @@ class Formulary # If name was a path or mapped to a cached formula f = FromPathLoader.new(name_or_path) elsif File.extname(name_or_path) == ".rb" - f = FromPathLoader.new(File.expand_path(name_or_path)) + f = FromPathLoader.new(name_or_path) else f = StandardLoader.new(name_or_path) end |
