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 | |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | tool/rbinstall.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Dec 16 23:29:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * tool/rbinstall.rb (bin-comm): use transformed name. + [ruby-dev:42777] + Thu Dec 16 21:52:07 2010 Tanaka Akira <akr@fsij.org> * io.c: parenthesize macro arguments. 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 = '' |