From f3b7b933fa61e1bd8eaebd0550e265f1801860de Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 28 Sep 2012 17:14:38 -0400 Subject: [PATCH] Fix ENV.fortran info texts They were being truncated. --- Library/Homebrew/extend/ENV.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index fd6788ac4b..e39bda5c87 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -439,7 +439,8 @@ class << ENV ENV['PATH'] += ":#{HOMEBREW_PREFIX}/bin:/usr/local/bin" if self['FC'] - ohai "Building with an alternative Fortran compiler. This is unsupported." + ohai "Building with an alternative Fortran compiler" + puts "This is unsupported." self['F77'] = self['FC'] unless self['F77'] if ARGV.include? '--default-fortran-flags' @@ -463,10 +464,8 @@ class << ENV end elsif `/usr/bin/which gfortran`.chuzzle - ohai <<-EOS.undent - Using Homebrew-provided fortran compiler. - This may be changed by setting the FC environment variable. - EOS + ohai "Using Homebrew-provided fortran compiler." + puts "This may be changed by setting the FC environment variable." self['FC'] = `/usr/bin/which gfortran`.chomp self['F77'] = self['FC']