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 | c3d325a61082db130e38624bcdd06d0c36ce6cb0 (patch) | |
tree | 7e7124c34ffc4f1a79e84ff574de3858bb2bd33f | |
parent | 5af27f6189df6fd3d368c54c73e47f42b6908b12 (diff) | |
download | ruby-c3d325a61082db130e38624bcdd06d0c36ce6cb0.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/branches/ruby_1_8@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 11:29:41 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * sample/drb/*: import lib/drb/sample diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 45fc556ecd..a2dd735099 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1004,7 +1004,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 |