[ruby-dev:50069] [Ruby trunk Bug#13424] Solaris10上で make update-rubyspec が bad substitution で失敗
From:
ngotogenome@...
Date:
2017-04-11 14:39:52 UTC
List:
ruby-dev #50069
Issue #13424 has been reported by ngoto (Naohisa Goto).
----------------------------------------
Bug #13424: Solaris10上で make update-rubyspec が bad substitution で失敗
https://bugs.ruby-lang.org/issues/13424
* Author: ngoto (Naohisa Goto)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v:
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
おそらく 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
~~~
--
https://bugs.ruby-lang.org/