Project

General

Profile

Actions

Bug #13424

closed

Solaris10上で make update-rubyspec が bad substitution で失敗

Bug #13424: Solaris10上で make update-rubyspec が bad substitution で失敗

Added by ngoto (Naohisa Goto) over 8 years ago. Updated over 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-dev:50069]

Description

おそらく r58217 以降、Solaris 10 上にて、 make update-rubyspec が以下のように失敗します。

$ make update-rubyspec V=1 ./tool/git-refresh -C ./spec \ git://github.com/ruby/mspec.git mspec ./tool/git-refresh: bad substitution make: *** [update-mspec] Error 1 

"${dir#*/}" がSolarisの/bin/shでは事実上使いものにならないのが原因のようです。

$ dir=/this/is/example $ echo ${dir#*/} bad substitution 

Related issues 2 (0 open2 closed)

Updated by nobu (Nobuyoshi Nakada) over 8 years ago Actions #1

  • Status changed from Open to Closed

Applied in changeset trunk|r58325.


git-refresh: for old sh

Updated by ngoto (Naohisa Goto) over 8 years ago Actions #2 [ruby-dev:50070]

  • Status changed from Closed to Open

r58327 で確認しましたが失敗したので再オープンします。

$ make update-rubyspec V=1 ./tool/git-refresh -C ./spec \ git://github.com/ruby/mspec.git mspec make: *** [update-mspec] Error 1 

以下のように expr が exit code 1 を返しており、set -e しているため即座に終了となっているように見えます。

$ dir=mspec; expr "$dir" : '*/\(.*\)'; echo $? 1 

なお、上記は SolarisでもLinuxでも1を返します。

Updated by nobu (Nobuyoshi Nakada) over 8 years ago Actions #3

  • Status changed from Open to Closed

Applied in changeset trunk|r58335.


git-refresh: fix expr

Updated by ngoto (Naohisa Goto) over 8 years ago Actions #4

  • Related to Bug #13433: Solaris10上で make update-rubyspec が失敗 added

Updated by ngoto (Naohisa Goto) over 8 years ago Actions #5

  • Related to Bug #13522: Solaris10上で make update-rubyspec が bad substitution で失敗 added
Actions

Also available in: PDF Atom