1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2015-02-26 14:42:11 +00:00
parent 68c062b1f0
commit 727f525108

View file

@ -84,7 +84,7 @@ if File.file?(libruby_so)
e ||= "LD_PRELOAD" if /linux/ =~ RUBY_PLATFORM e ||= "LD_PRELOAD" if /linux/ =~ RUBY_PLATFORM
end end
if e if e
env[e] = [libruby_so, ENV[e]].compact.join(' ') env[e] = [libruby_so, ENV[e]].compact.join(File::PATH_SEPARATOR)
end end
end end