patches.rb: Fix warning thrown by Ruby 1.8.6
Need to be consistent with use of parenthesis in functions.
This commit is contained in:
parent
62a98753ec
commit
7ffa831718
@ -91,7 +91,7 @@ private
|
|||||||
# Write the given file object (DATA) out to a local file for patch
|
# Write the given file object (DATA) out to a local file for patch
|
||||||
def write_data f
|
def write_data f
|
||||||
pn = Pathname.new @patch_filename
|
pn = Pathname.new @patch_filename
|
||||||
pn.write(brew_var_substitution f.read.to_s)
|
pn.write(brew_var_substitution(f.read.to_s))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Do any supported substitutions of HOMEBREW vars in a DATA patch
|
# Do any supported substitutions of HOMEBREW vars in a DATA patch
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user