aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-05-28 12:57:39 -0500
committerJack Nagel2014-05-28 14:01:13 -0500
commit22e3e6c1e6050b00799384c35dc2c232da421748 (patch)
treed96ab30d4aeb86fb64cdcdc733c6c69970cbb782
parentecc01317b8756fa3bcf81b8d08830244a9454f6d (diff)
downloadbrew-22e3e6c1e6050b00799384c35dc2c232da421748.tar.bz2
versions: use path attribute instead of reconstructing it
-rw-r--r--Library/Homebrew/cmd/versions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb
index 8332d9133..5fef98aaf 100644
--- a/Library/Homebrew/cmd/versions.rb
+++ b/Library/Homebrew/cmd/versions.rb
@@ -58,7 +58,7 @@ class Formula
if Pathname.pwd == repository
entry_name
else
- repository/"#{entry_name}"
+ path
end
end