Fix ENV.fortran info texts
They were being truncated.
This commit is contained in:
parent
0639364a82
commit
f3b7b933fa
@ -439,7 +439,8 @@ class << ENV
|
|||||||
ENV['PATH'] += ":#{HOMEBREW_PREFIX}/bin:/usr/local/bin"
|
ENV['PATH'] += ":#{HOMEBREW_PREFIX}/bin:/usr/local/bin"
|
||||||
|
|
||||||
if self['FC']
|
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']
|
self['F77'] = self['FC'] unless self['F77']
|
||||||
|
|
||||||
if ARGV.include? '--default-fortran-flags'
|
if ARGV.include? '--default-fortran-flags'
|
||||||
@ -463,10 +464,8 @@ class << ENV
|
|||||||
end
|
end
|
||||||
|
|
||||||
elsif `/usr/bin/which gfortran`.chuzzle
|
elsif `/usr/bin/which gfortran`.chuzzle
|
||||||
ohai <<-EOS.undent
|
ohai "Using Homebrew-provided fortran compiler."
|
||||||
Using Homebrew-provided fortran compiler.
|
puts "This may be changed by setting the FC environment variable."
|
||||||
This may be changed by setting the FC environment variable.
|
|
||||||
EOS
|
|
||||||
self['FC'] = `/usr/bin/which gfortran`.chomp
|
self['FC'] = `/usr/bin/which gfortran`.chomp
|
||||||
self['F77'] = self['FC']
|
self['F77'] = self['FC']
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user