diff options
| author | Jack Nagel | 2013-06-13 19:03:31 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-14 10:34:20 -0500 |
| commit | 9427704176f3c877484fa3d66b2b272455b4225f (patch) | |
| tree | c093ac51e5402253f85c90c0658dca5480c7a646 /Library | |
| parent | e73f869d8427e093a536cf10c38ec714264245d3 (diff) | |
| download | brew-9427704176f3c877484fa3d66b2b272455b4225f.tar.bz2 | |
Use ||= instead of unless
Diffstat (limited to 'Library')
| -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 = [] |
