aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-04-04 08:26:13 -0700
committerCharlie Sharpsteen2012-04-04 08:28:15 -0700
commit7ffa831718b1377a9faea623ed185bae54248106 (patch)
tree488eaebacc28c3e6d9b45de05cbe705915518a02 /Library/Homebrew
parent62a98753ec9cce23653b18e95b8debafd877856d (diff)
downloadbrew-7ffa831718b1377a9faea623ed185bae54248106.tar.bz2
patches.rb: Fix warning thrown by Ruby 1.8.6
Need to be consistent with use of parenthesis in functions.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/patches.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/patches.rb b/Library/Homebrew/patches.rb
index 41cf12fef..e3cab1ed9 100644
--- a/Library/Homebrew/patches.rb
+++ b/Library/Homebrew/patches.rb
@@ -91,7 +91,7 @@ private
# Write the given file object (DATA) out to a local file for patch
def write_data f
pn = Pathname.new @patch_filename
- pn.write(brew_var_substitution f.read.to_s)
+ pn.write(brew_var_substitution(f.read.to_s))
end
# Do any supported substitutions of HOMEBREW vars in a DATA patch