diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-14 16:51:12 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-14 16:51:12 +0000 |
commit | 19cb7ffd6c838bc0f3d4136a91f79557c13f33aa (patch) | |
tree | b8348d868a74fa1f5f3a51956fd769108b169001 | |
parent | 957874f20473063717974a3bf4f9e05a64252917 (diff) | |
download | ruby-19cb7ffd6c838bc0f3d4136a91f79557c13f33aa.tar.gz |
* lib/mkmf.rb: absolute path of ruby is assigned to $(RUBY).
[ruby-dev:22870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/mkmf.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Feb 15 01:46:05 2004 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * lib/mkmf.rb: absolute path of ruby is assigned to $(RUBY). + [ruby-dev:22870] + Sat Feb 14 23:59:11 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> * mkconfig.rb: use fileutils.rb instead of ftools.rb. diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 6315e1f8bf..6272368140 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1048,7 +1048,7 @@ $configure_args["--topsrcdir"] ||= $srcdir Config::CONFIG["topdir"] = CONFIG["topdir"] = $curdir = arg_config("--curdir", Dir.pwd) $configure_args["--topdir"] ||= $curdir -$ruby = arg_config("--ruby", CONFIG["ruby_install_name"]) +$ruby = arg_config("--ruby", File.join(CONFIG["bindir"], CONFIG["ruby_install_name"])) split = Shellwords.method(:shellwords).to_proc |