Project

General

Profile

Actions

Bug #4164

closed

tool/rbinstall.rb doesn't transform script names

Added by usa (Usaku NAKAMURA) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2010-12-16 trunk 30224) [x64-mswin64_100]
Backport:
[ruby-dev:42777]

Description

=begin
[ruby-dev:42775] で報告していただいたバグの修正をテストしていて気付いたのですが、
trunkではconfigure時にプログラム名の変換を指定していても、binにインストールされるスクリプト名が全く変換されません。

原因はr30162の4つ目および5つ目のhunkにあります。
従来は変数srcの指す文字列を変換したものを変数nameに格納し、そのnameにパスをくっつけたものを変数cmdに格納して、それを使ってファイルを作成していたのですが、r30162の変更によって、いきなり最初に変数cmdが用意されちゃって、その後でsrcからnameを作っているけど何にも使わないままになっています。

と、原因箇所までは特定したのですが、この変更の意図を生かした上での問題解決の方法が思いつかなかったので、直すのは他の人にまかせます。
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 13 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30228.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0