aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/patches.rb
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-04-04 08:26:13 -0700
committerCharlie Sharpsteen2012-04-04 08:28:15 -0700
commit09c2a69f89fa5fd81627f2486b8d9df0507eb8e4 (patch)
treed80d13ee9815a86ab1efea0261a40f5f9c97197b /Library/Homebrew/patches.rb
parent17cd6192708f65701d62249f297f2d995b00f4e0 (diff)
downloadhomebrew-09c2a69f89fa5fd81627f2486b8d9df0507eb8e4.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/patches.rb')
-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