diff options
| author | Jack Nagel | 2013-06-13 19:03:31 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-06-14 10:34:20 -0500 | 
| commit | e955cf55ca9851520fc476d9ff60198659b1909b (patch) | |
| tree | d05941782526b35979ac0dd456ae7739bb308ba3 /Library/Homebrew/extend/ENV.rb | |
| parent | 47d07b24b081721d49d6b57d3acd70ca396282ca (diff) | |
| download | homebrew-e955cf55ca9851520fc476d9ff60198659b1909b.tar.bz2 | |
Use ||= instead of unless
Diffstat (limited to 'Library/Homebrew/extend/ENV.rb')
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index 5d20db777..4323b829f 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -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 = []  | 
