diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-12-21 15:13:36 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-12-21 15:13:36 +0100 |
commit | eae546be86e05e3440a099df50b431a8e889277d (patch) | |
tree | 6f0643ed1ae2bea91c57a0d15a1062c94e1e6e98 | |
parent | c9c71b6e5bc2b18ec1091930b05ef084aea7c6ab (diff) | |
download | ffi-efl-eae546be86e05e3440a099df50b431a8e889277d.zip ffi-efl-eae546be86e05e3440a099df50b431a8e889277d.tar.gz |
fix genruby output
-rwxr-xr-x | tools/genruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genruby.rb b/tools/genruby.rb index 76f1b25..339257a 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -423,8 +423,8 @@ libs.each do |lib| printf "\033[1;33mdone\033[0;0m\n" end libs.each do |lib| - printf "\033[1;33mgenerate\033[0;0m %-50s\033[0;0m",lib[:outpath] outpath = File.join lib_path, lib[:outfile] + printf "\033[1;33mgenerate\033[0;0m %-50s\033[0;0m",outpath outdir = File.dirname outpath Dir.mkdir outdir unless File.exists? outdir File.open(File.join(outpath),'w:utf-8') do |f| |