aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2012-09-28 17:14:38 -0400
committerMax Howell2012-09-28 17:14:56 -0400
commitf3b7b933fa61e1bd8eaebd0550e265f1801860de (patch)
tree9f367424893b4ca448f7c442d0adfd832c27f12f /Library/Homebrew
parent0639364a8229114736285676b997da9f836e2c19 (diff)
downloadbrew-f3b7b933fa61e1bd8eaebd0550e265f1801860de.tar.bz2
Fix ENV.fortran info texts
They were being truncated.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index fd6788ac4..e39bda5c8 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']