aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2017-05-02 19:03:03 +0100
committerDominyk Tiller2017-05-02 19:03:03 +0100
commitc081b3d97581bb1f4fa0541a3d41f0fd2fcf428c (patch)
treea073a5b7611dcc7cdd3256f22b95d95c02f68485 /Library
parent7a0e5d123c42e2fb907c0ad80cfe17125d8c9d56 (diff)
downloadbrew-c081b3d97581bb1f4fa0541a3d41f0fd2fcf428c.tar.bz2
caveats: chomp keg_only reason
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/caveats.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb
index 2032e9ff1..ee09063fd 100644
--- a/Library/Homebrew/caveats.rb
+++ b/Library/Homebrew/caveats.rb
@@ -46,7 +46,7 @@ class Caveats
s = <<-EOS.undent
This formula is keg-only, which means it was not symlinked into #{HOMEBREW_PREFIX},
- because #{f.keg_only_reason}.
+ because #{f.keg_only_reason.to_s.chomp}.
EOS
if f.bin.directory? || f.sbin.directory?
s << "\nIf you need to have this software first in your PATH run:\n"