aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-05 17:41:36 -0500
committerJack Nagel2014-04-05 17:41:36 -0500
commit109fff1b0f64351e8cdb2c7fd4bb833ce6535c79 (patch)
tree4709e0cd3fde9de12d052c673819d6a349c254f8 /Library
parentfc39b7cb9561b8d901e32a38fdaff406faf4c32b (diff)
downloadhomebrew-109fff1b0f64351e8cdb2c7fd4bb833ce6535c79.tar.bz2
FromPathLoader already calls expand_path
Diffstat (limited to 'Library')
-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