Skip to content
Snippets Groups Projects
Commit 020a5059 authored by Jack Nagel's avatar Jack Nagel
Browse files

Rename single-letter variable

parent a458555c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment