diff options
| author | Charlie Sharpsteen | 2012-04-04 08:26:13 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-04-04 08:28:15 -0700 |
| commit | 7ffa831718b1377a9faea623ed185bae54248106 (patch) | |
| tree | 488eaebacc28c3e6d9b45de05cbe705915518a02 /Library | |
| parent | 62a98753ec9cce23653b18e95b8debafd877856d (diff) | |
| download | brew-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')
| -rw-r--r-- | Library/Homebrew/patches.rb | 2 |
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 |
