Commit 48616a85 authored by mattn's avatar mattn

chmod 755

parent fb621ef4
require 'FileUtils'
module MRuby module MRuby
class Build class Build
def exefile(name) def exefile(name)
...@@ -27,5 +25,6 @@ MRuby.each_target do ...@@ -27,5 +25,6 @@ MRuby.each_target do
IO.write(t.name, File.open(t.name) {|f| IO.write(t.name, File.open(t.name) {|f|
f.read.gsub (/echo (MRUBY_CFLAGS|MRUBY_LDFLAGS|MRUBY_LIBS)/) {|x| config[$1].empty? ? 'echo/' : "echo #{config[$1]}"} f.read.gsub (/echo (MRUBY_CFLAGS|MRUBY_LDFLAGS|MRUBY_LIBS)/) {|x| config[$1].empty? ? 'echo/' : "echo #{config[$1]}"}
}) })
FileUtils.chmod(0755, t.name)
end end
end end
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