diff options
| author | Jack Nagel | 2014-02-28 16:27:25 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-02-28 16:27:25 -0600 |
| commit | 97fcbbe0b3f01f6cf7ad065ee6397d5c65abc97c (patch) | |
| tree | 834a6b75b31508d82719e7b19042bc84e851d30d /Library | |
| parent | ac317075bf08fd43ab872e76fa3d9666100ce346 (diff) | |
| download | homebrew-97fcbbe0b3f01f6cf7ad065ee6397d5c65abc97c.tar.bz2 | |
Use File.expand_path
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 7f6c566ad..9ad2e0944 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -184,7 +184,7 @@ class Formulary # If name was a path or mapped to a cached formula f = FromPathLoader.new(name_or_path) elsif name_or_path =~ /\.rb$/ - f = FromPathLoader.new("./#{name_or_path}") + f = FromPathLoader.new(File.expand_path(name_or_path)) else f = StandardLoader.new(name_or_path) end |
