aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/diagnostic.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-17 03:21:51 +0200
committerMarkus Reiter2016-10-01 20:00:49 +0200
commit884b26850615d5624e09762e1ae8bc5b104a934a (patch)
tree310fc74849e3b15b940bd7f57b67c323120a771a /Library/Homebrew/diagnostic.rb
parent75e8b59aad4814112a53119f68ed629d60b3f97b (diff)
downloadbrew-884b26850615d5624e09762e1ae8bc5b104a934a.tar.bz2
Use Formatter for all URLs.
Diffstat (limited to 'Library/Homebrew/diagnostic.rb')
-rw-r--r--Library/Homebrew/diagnostic.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index ca8ade9ff..6546714e8 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -473,7 +473,7 @@ module Homebrew
If you have trouble downloading packages with Homebrew, then maybe this
is the problem? If the following command doesn't work, then try removing
your curlrc:
- curl https://github.com
+ curl #{Formatter.url("https://github.com")}
EOS
end
@@ -610,7 +610,7 @@ module Homebrew
Setting DYLD_INSERT_LIBRARIES can cause Go builds to fail.
Having this set is common if you use this software:
- http://asepsis.binaryage.com/
+ #{Formatter.url("http://asepsis.binaryage.com/")}
EOS
end
@@ -752,7 +752,7 @@ module Homebrew
Without a correctly configured origin, Homebrew won't update
properly. You can solve this by adding the Homebrew remote:
cd #{HOMEBREW_REPOSITORY}
- git remote add origin https://github.com/Homebrew/brew.git
+ git remote add origin #{Formatter.url("https://github.com/Homebrew/brew.git")}
EOS
elsif origin !~ %r{Homebrew/brew(\.git)?$}
<<-EOS.undent
@@ -764,7 +764,7 @@ module Homebrew
Unless you have compelling reasons, consider setting the
origin remote to point at the main repository, located at:
- https://github.com/Homebrew/brew.git
+ #{Formatter.url("https://github.com/Homebrew/brew.git")}
EOS
end
end
@@ -956,8 +956,8 @@ module Homebrew
<<-EOS.undent
A .pydistutils.cfg file was found in $HOME, which may cause Python
builds to fail. See:
- https://bugs.python.org/issue6138
- https://bugs.python.org/issue4655
+ #{Formatter.url("https://bugs.python.org/issue6138")}
+ #{Formatter.url("https://bugs.python.org/issue4655")}
EOS
end