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:
parent
68c062b1f0
commit
727f525108
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue