mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* runruby.rb: eliminate uninitialized variable.
[ruby-core:11255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d0af0f2f2a
commit
1beec4c476
3 changed files with 7 additions and 7 deletions
|
@ -41,11 +41,7 @@ config["bindir"] = abs_archdir
|
|||
ENV["RUBY"] = File.expand_path(ruby)
|
||||
ENV["PATH"] = [abs_archdir, ENV["PATH"]].compact.join(File::PATH_SEPARATOR)
|
||||
|
||||
if pure
|
||||
libs << File.expand_path("ext", srcdir) << "-"
|
||||
elsif e = ENV["RUBYLIB"]
|
||||
libs |= e.split(File::PATH_SEPARATOR)
|
||||
end
|
||||
ENV["RUBYLIB"] = $:.replace(libs).join(File::PATH_SEPARATOR)
|
||||
|
||||
libruby_so = File.join(abs_archdir, config['LIBRUBY_SO'])
|
||||
|
@ -59,7 +55,6 @@ if File.file?(libruby_so)
|
|||
end
|
||||
|
||||
cmd = [ruby]
|
||||
cmd << "-rpurelib.rb" if pure
|
||||
cmd << "-rpurelib.rb"
|
||||
cmd.concat(ARGV)
|
||||
cmd.unshift(*debugger) if debugger
|
||||
exec(*cmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue