diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-16 14:29:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-16 14:29:25 +0000 |
commit | e46e5d2438089b24048927840d646c731dc882cf (patch) | |
tree | 3b272052481979868f718e827511f1e2360b4b58 /tool | |
parent | e5ad455a0845aea720ed1a9f1764635ea30bfbfa (diff) | |
download | ruby-e46e5d2438089b24048927840d646c731dc882cf.tar.gz |
* tool/rbinstall.rb (bin-comm): use transformed name.
[ruby-dev:42777]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index bfb65dcbcc..fde24c0ecd 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -441,7 +441,7 @@ install?(:local, :comm, :bin, :'bin-comm') do trans = proc {|base| base} end install_recursive(File.join(srcdir, "bin"), bindir) do |src, cmd| - name = RbConfig.expand(trans[File.basename(src)]) + cmd = File.join(File.dirname(cmd), RbConfig.expand(trans[File.basename(cmd)])) shebang = '' body = '' |