Use ||= instead of unless

This commit is contained in:
Jack Nagel 2013-06-13 19:03:31 -05:00
parent e73f869d84
commit 9427704176

View File

@ -457,7 +457,7 @@ class << ENV
if self['FC']
ohai "Building with an alternative Fortran compiler"
puts "This is unsupported."
self['F77'] = self['FC'] unless self['F77']
self['F77'] ||= self['FC']
if ARGV.include? '--default-fortran-flags'
flags_to_set = []