summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-01-23 01:15:44 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-01-23 01:15:44 +0900
commit8af688e2c9566fba065691dfa0887420fb9d1626 (patch)
treec4f6994dd014b978bc630dafd81e7579dc8d7584
parent8aba34301b7d81686a70716598b348b554164c29 (diff)
parenta99fb39dc103c9b0035fecd9a137c075f3a647a0 (diff)
downloadmruby-8af688e2c9566fba065691dfa0887420fb9d1626.tar.gz
mruby-8af688e2c9566fba065691dfa0887420fb9d1626.zip
Merge pull request #2710 from sdottaka/fix-window-build
tasks/ruby_ext.rake: Fix build error when file path includes \1 or \2. ...
-rw-r--r--tasks/ruby_ext.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/ruby_ext.rake b/tasks/ruby_ext.rake
index 61fa91d97..4c6d3ca76 100644
--- a/tasks/ruby_ext.rake
+++ b/tasks/ruby_ext.rake
@@ -22,7 +22,7 @@ class String
if params.is_a?(Hash)
str = self.clone
params.each do |k, v|
- str.gsub!("%{#{k}}", v)
+ str.gsub!("%{#{k}}") { v }
end
str
else