aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-12 20:54:41 -0500
committerJack Nagel2014-09-12 20:54:41 -0500
commitfc8d3464e4b464bcc8cf1c1988492f317026d79b (patch)
tree09ceb3c0ec588c7ef57094eb8d58351c54cf7dab /Library
parentdd6c4f206816abb46413d7db88bb469cacfca111 (diff)
downloadhomebrew-fc8d3464e4b464bcc8cf1c1988492f317026d79b.tar.bz2
Don't use undent on keg-only reasons
It will cut off the beginning of any interpolated lines. Fixes #32259.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_support.rb28
1 files changed, 14 insertions, 14 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 12ca38e66..77089d42c 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -24,23 +24,23 @@ class KegOnlyReason
def to_s
case @reason
- when :provided_by_osx then <<-EOS.undent
- Mac OS X already provides this software and installing another version in
- parallel can cause all kinds of trouble.
+ when :provided_by_osx then <<-EOS
+Mac OS X already provides this software and installing another version in
+parallel can cause all kinds of trouble.
- #{@explanation}
- EOS
- when :shadowed_by_osx then <<-EOS.undent
- Mac OS X provides similar software, and installing this software in
- parallel can cause all kinds of trouble.
+#{@explanation}
+EOS
+ when :shadowed_by_osx then <<-EOS
+Mac OS X provides similar software, and installing this software in
+parallel can cause all kinds of trouble.
- #{@explanation}
- EOS
- when :provided_pre_mountain_lion then <<-EOS.undent
- Mac OS X already provides this software in versions before Mountain Lion.
+#{@explanation}
+EOS
+ when :provided_pre_mountain_lion then <<-EOS
+Mac OS X already provides this software in versions before Mountain Lion.
- #{@explanation}
- EOS
+#{@explanation}
+EOS
when :provided_until_xcode43
"Xcode provides this software prior to version 4.3.\n\n#{@explanation}"
when :provided_until_xcode5