aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-06-13 19:03:31 -0500
committerJack Nagel2013-06-14 10:34:20 -0500
commite955cf55ca9851520fc476d9ff60198659b1909b (patch)
treed05941782526b35979ac0dd456ae7739bb308ba3
parent47d07b24b081721d49d6b57d3acd70ca396282ca (diff)
downloadhomebrew-e955cf55ca9851520fc476d9ff60198659b1909b.tar.bz2
Use ||= instead of unless
-rw-r--r--Library/Homebrew/extend/ENV.rb2
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 = []