summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYuichiro MASUI <[email protected]>2013-03-08 21:37:27 +0900
committerYuichiro MASUI <[email protected]>2013-03-08 21:37:27 +0900
commitd1359e7a6fe8a61ec628ea39e5caa5f4f450dae0 (patch)
tree0ca173310d66b547eceef8286d4eac99db86fb2e
parent7d47096434994d9eb9712546879e3b52b04d3443 (diff)
downloadmruby-d1359e7a6fe8a61ec628ea39e5caa5f4f450dae0.tar.gz
mruby-d1359e7a6fe8a61ec628ea39e5caa5f4f450dae0.zip
Fixed #969
-rw-r--r--tasks/mruby_build_commands.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/mruby_build_commands.rake b/tasks/mruby_build_commands.rake
index ec8a8d3e3..1e806e5da 100644
--- a/tasks/mruby_build_commands.rake
+++ b/tasks/mruby_build_commands.rake
@@ -69,9 +69,9 @@ module MRuby
@out_ext = build.exts.object
if build_dir.include? "mrbgems/"
- generated_file_matcher = Regexp.new("^#{build_dir}/(.*)#{Regexp.escape out_ext}$")
+ generated_file_matcher = Regexp.new("^#{Regexp.escape build_dir}/(.*)#{Regexp.escape out_ext}$")
else
- generated_file_matcher = Regexp.new("^#{build_dir}/(?!mrbgems/.+/)(.*)#{Regexp.escape out_ext}$")
+ generated_file_matcher = Regexp.new("^#{Regexp.escape build_dir}/(?!mrbgems/.+/)(.*)#{Regexp.escape out_ext}$")
end
source_exts.each do |ext, compile|
rule generated_file_matcher => [