diff options
-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 = '' |