aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJosh Soref2017-09-10 16:31:02 +0000
committerJosh Soref2017-09-10 16:31:02 +0000
commit08e53870a65d272db5054d4919acead95a6869dc (patch)
treefc8eab7acf123d39062d890364aca67023f0ce81 /Library
parent7b1cf6df5a73b03ad87333636df627c86de50599 (diff)
downloadbrew-08e53870a65d272db5054d4919acead95a6869dc.tar.bz2
spelling: definitions
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/string.rb b/Library/Homebrew/extend/string.rb
index ae7a209db..b96f12994 100644
--- a/Library/Homebrew/extend/string.rb
+++ b/Library/Homebrew/extend/string.rb
@@ -60,7 +60,7 @@ module StringInreplaceExtension
result
end
- # Looks for Makefile style variable defintions and replaces the
+ # Looks for Makefile style variable definitions and replaces the
# value with "new_value", or removes the definition entirely.
def change_make_var!(flag, new_value)
return if gsub!(/^#{Regexp.escape(flag)}[ \t]*=[ \t]*(.*)$/, "#{flag}=#{new_value}", false)