Skip to content
Snippets Groups Projects
Commit 11f322b6 authored by David Griffith's avatar David Griffith
Browse files

Trying this to please brew test-bot.

parent 5b58931e
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ module StringInreplaceExtension
def remove_make_var!(flags)
Array(flags).each do |flag|
# Also remove trailing \n, if present.
if !gsub(/^#{Regexp.escape(flag)}[ \t]*[\\?\+\:\!]?=.*$\n?/, "")
if !gsub!(/^#{Regexp.escape(flag)}[ \t]*[\\?\+\:\!]?=.*$\n?/, "", false)
errors << "expected to remove #{flag.inspect}"
end
end
......
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