Commit 8af688e2 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2710 from sdottaka/fix-window-build

tasks/ruby_ext.rake: Fix build error when file path includes \1 or \2.  ...
parents 8aba3430 a99fb39d
...@@ -22,7 +22,7 @@ class String ...@@ -22,7 +22,7 @@ class String
if params.is_a?(Hash) if params.is_a?(Hash)
str = self.clone str = self.clone
params.each do |k, v| params.each do |k, v|
str.gsub!("%{#{k}}", v) str.gsub!("%{#{k}}") { v }
end end
str str
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment