From 727f5251088745a9acad9ea3f7272f01d9767a80 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 26 Feb 2015 14:42:11 +0000 Subject: runruby.rb: use File::PATH_SEPARATOR * tool/runruby.rb: use File::PATH_SEPARATOR as DYLD_INSERT_LIBRARIES is colon-separated list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/runruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool') diff --git a/tool/runruby.rb b/tool/runruby.rb index 7def5063b2..34b51da86e 100755 --- a/tool/runruby.rb +++ b/tool/runruby.rb @@ -84,7 +84,7 @@ if File.file?(libruby_so) e ||= "LD_PRELOAD" if /linux/ =~ RUBY_PLATFORM end if e - env[e] = [libruby_so, ENV[e]].compact.join(' ') + env[e] = [libruby_so, ENV[e]].compact.join(File::PATH_SEPARATOR) end end -- cgit v1.2.3