summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-config/mrbgem.rake
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-12-27 18:35:19 +0900
committerGitHub <[email protected]>2019-12-27 18:35:19 +0900
commitd2f34a845514d45e9651a87d445e2d1bdabe680a (patch)
tree71e9536f151dc2e6303948a13d5d72b067406d19 /mrbgems/mruby-bin-config/mrbgem.rake
parent03244b52a0624e823ae5e338ecf72a868da08ef2 (diff)
parent26e6e75ba6a59bc77c80a6ce5d207626cfed91a6 (diff)
downloadmruby-d2f34a845514d45e9651a87d445e2d1bdabe680a.tar.gz
mruby-d2f34a845514d45e9651a87d445e2d1bdabe680a.zip
Merge pull request #4910 from shuujii/use-Rake-DSL-instead-of-commands-of-FileUtils
Use Rake DSL instead of commands of `FileUtils`
Diffstat (limited to 'mrbgems/mruby-bin-config/mrbgem.rake')
-rw-r--r--mrbgems/mruby-bin-config/mrbgem.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-config/mrbgem.rake b/mrbgems/mruby-bin-config/mrbgem.rake
index 3a0a1b897..6005a876d 100644
--- a/mrbgems/mruby-bin-config/mrbgem.rake
+++ b/mrbgems/mruby-bin-config/mrbgem.rake
@@ -17,7 +17,7 @@ unless MRuby::Build.current.kind_of?(MRuby::CrossBuild)
}]
tmplt = File.read(tmplt_path)
File.write(t.name, tmplt.gsub(/(#{Regexp.union(*config.keys)})\b/, config))
- FileUtils.chmod(0755, t.name)
+ chmod(0755, t.name)
end
end
end