提交 11dd1207 编写于 作者: M Mislav Marohnić

weird Ruby 1.8.7 syntax error

上级 1b2a25ae
......@@ -128,11 +128,11 @@ World Module.new {
end
define_method(:text_editor_script) do |bash_code|
File.open("#{bin_dir}/vim", 'w', 0755) do |exe|
File.open("#{bin_dir}/vim", 'w', 0755) { |exe|
exe.puts "#!/bin/bash"
exe.puts "set -e"
exe.puts bash_code
end
}
end
def run_silent cmd
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册