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 | f558651b2b888ed9fdde2c6fc54c1736f3406f57 (patch) | |
tree | 7e7124c34ffc4f1a79e84ff574de3858bb2bd33f /lib/mkmf.rb | |
parent | 9289dc111581abb772513476d30709ff80cfc362 (diff) | |
download | ruby-f558651b2b888ed9fdde2c6fc54c1736f3406f57.tar.gz ruby-f558651b2b888ed9fdde2c6fc54c1736f3406f57.tar.xz ruby-f558651b2b888ed9fdde2c6fc54c1736f3406f57.zip |
* lib/mkmf.rb: absolute path of ruby is assigned to $(RUBY).
[ruby-dev:22870]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 45fc556ec..a2dd73509 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 |