aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Höltje2013-02-11 21:42:02 -0500
committerAdam Vandenberg2013-02-11 18:46:56 -0800
commit35c8a0c7fb3dc701b6c5eeafdb7623e20fbdc7b7 (patch)
tree6ad6e4873977fc56623d965c70853cafa80e9c01
parent24866df7afc6150c9f20647bfa9702d3c3dec3a7 (diff)
downloadhomebrew-35c8a0c7fb3dc701b6c5eeafdb7623e20fbdc7b7.tar.bz2
mercurial: Use opt_prefix in caveat
The caveat mentioned that the `hgext` directory was in the Cellar. A better path is the `opt_prefix` path because it doesn't change when the mercurial is updated. Closes #17773. Closes #17779. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/mercurial.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb
index b43bbf164..0846e1b83 100644
--- a/Library/Formula/mercurial.rb
+++ b/Library/Formula/mercurial.rb
@@ -43,7 +43,7 @@ class Mercurial < Formula
s += <<-EOS.undent
Extensions have been installed to:
- #{libexec}/hgext
+ #{opt_prefix}/libexec/hgext
EOS
if build.head? then s += <<-EOS.undent