aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-04-05 17:41:36 -0500
committerJack Nagel2014-04-05 17:41:36 -0500
commit2b8f1ca94b7e1c2e85bd072859a65231b3f78f23 (patch)
tree882a937c2c09ef595703714c4e49232d41076794
parentce367e711be8e4f2a08357705dafa5bc375da99b (diff)
downloadbrew-2b8f1ca94b7e1c2e85bd072859a65231b3f78f23.tar.bz2
FromPathLoader already calls expand_path
-rw-r--r--Library/Homebrew/formulary.rb2
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