From e3c852441177caa4b251fa33c83a65e4263a4146 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 9 Nov 2019 19:43:14 +0900 Subject: Full-path of builtin scripts no longer needed --- tool/mk_builtin_loader.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tool/mk_builtin_loader.rb') diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index 87b5e2ab76..4f140a6f6b 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -67,10 +67,9 @@ def mk_builtin_header file f.puts "COMPILER_WARNING_POP" - path = File.expand_path(file) f.puts f.puts " // load" - f.puts " rb_load_with_builtin_functions(\"#{base}\", \"#{file}\", #{table});" + f.puts " rb_load_with_builtin_functions(#{base.dump}, #{table});" f.puts "}" } @@ -78,6 +77,5 @@ end ARGV.each{|file| # feature.rb => load_feature.inc - path = File.expand_path(file) - mk_builtin_header path + mk_builtin_header file } -- cgit v1.2.1