aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-13 18:39:52 -0500
committerJack Nagel2013-06-14 10:34:18 -0500
commit020a505970d67708847387b2b8047cc231a53c56 (patch)
tree7dc4b0f0bf0655d3bd733a6ba073dca8a0047c61 /Library
parenta458555ccb5d4d34befabde63eddacdd7a4613a8 (diff)
downloadbrew-020a505970d67708847387b2b8047cc231a53c56.tar.bz2
Rename single-letter variable
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 259395229..6de760ff8 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -311,10 +311,8 @@ module HomebrewEnvExtension
end
# Convenience method to set all C compiler flags in one shot.
- def set_cflags f
- CC_FLAG_VARS.each do |key|
- self[key] = f
- end
+ def set_cflags val
+ CC_FLAG_VARS.each { |key| self[key] = val }
end
# Sets architecture-specific flags for every environment variable
@@ -397,8 +395,8 @@ class << ENV
def append_to_cflags newflags
append(CC_FLAG_VARS, newflags)
end
- def remove_from_cflags f
- remove CC_FLAG_VARS, f
+ def remove_from_cflags val
+ remove CC_FLAG_VARS, val
end
def append keys, value, separator = ' '
value = value.to_s