summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-12-21 15:13:36 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-12-21 15:13:36 +0100
commiteae546be86e05e3440a099df50b431a8e889277d (patch)
tree6f0643ed1ae2bea91c57a0d15a1062c94e1e6e98
parentc9c71b6e5bc2b18ec1091930b05ef084aea7c6ab (diff)
downloadffi-efl-eae546be86e05e3440a099df50b431a8e889277d.zip
ffi-efl-eae546be86e05e3440a099df50b431a8e889277d.tar.gz
fix genruby output
-rwxr-xr-xtools/genruby.rb2
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|