From eae546be86e05e3440a099df50b431a8e889277d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 21 Dec 2012 15:13:36 +0100 Subject: fix genruby output --- tools/genruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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| -- cgit v1.1-2-g2b99