mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/mkconfig.rb, tool/instruby.rb: removed redundant code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
970cfee510
commit
e11a1fc9b7
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon May 25 11:47:06 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* tool/mkconfig.rb, tool/instruby.rb: removed redundant code.
|
||||
|
||||
Mon May 25 09:34:09 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_hash): avoid calling rb_enc_str_asciionly_p().
|
||||
|
|
|
@ -4,9 +4,9 @@ load "./rbconfig.rb"
|
|||
include RbConfig
|
||||
$".unshift File.expand_path("./rbconfig.rb")
|
||||
|
||||
srcdir = File.expand_path('..', File.dirname(__FILE__))
|
||||
srcdir = File.expand_path('../..', __FILE__)
|
||||
unless defined?(CROSS_COMPILING) and CROSS_COMPILING
|
||||
$:.replace([File.expand_path("lib", srcdir), Dir.pwd])
|
||||
$:.replace([srcdir+"/lib", Dir.pwd])
|
||||
end
|
||||
require 'fileutils'
|
||||
require 'shellwords'
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
$install_name ||= nil
|
||||
$so_name ||= nil
|
||||
|
||||
srcdir = File.expand_path('..', File.dirname(__FILE__))
|
||||
srcdir = File.expand_path('../..', __FILE__)
|
||||
$:.replace [srcdir+"/lib"] unless defined?(CROSS_COMPILING)
|
||||
$:.unshift(".")
|
||||
|
||||
|
|
Loading…
Reference in a new issue