diff options
| author | Adam Vandenberg | 2011-07-30 10:11:35 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-07-30 10:11:35 -0700 |
| commit | 0818189b5d899252f4166da2fe26984ad7a4ec0a (patch) | |
| tree | 8d059e93c405fe1b45d2a21a849c11315d44d009 /Library | |
| parent | 7e2411eb4d339eec896bfdfed56b0b3cd7ced60e (diff) | |
| download | brew-0818189b5d899252f4166da2fe26984ad7a4ec0a.tar.bz2 | |
Fix stripping of keg-only reasons
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 | ||||
| -rwxr-xr-x | Library/Homebrew/install.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 5c330ee4f..d0f6a0389 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -65,14 +65,14 @@ class KegOnlyReason def to_s if @reason == :provided_by_osx - <<-EOS.chomp + <<-EOS.strip Mac OS X already provides this program and installing another version in parallel can cause all kinds of trouble. #{@explanation} EOS else - @reason + @reason.strip end end end diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 8cbcb0c2a..e92e80e08 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -5,7 +5,7 @@ def text_for_keg_only_formula f <<-EOS This formula is keg-only, so it was not symlinked into #{HOMEBREW_PREFIX}. -#{f.keg_only?.strip} +#{f.keg_only?} Generally there are no consequences of this for you. If you build your own software and it requires this formula, you'll need |
