diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 09:25:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 09:25:05 +0000 |
commit | d5b34b5331244f375135faf6c196d886b011ee22 (patch) | |
tree | aa16277e2cece311a707394f3328bef6795dc29b /common.mk | |
parent | 293b9d66af15b2f14f2e278a32a5aa29b7c396d1 (diff) | |
download | ruby-d5b34b5331244f375135faf6c196d886b011ee22.tar.gz |
common.mk: preserve rest fields of bundled_gems
* common.mk (update-bundled_gems): preserve rest fields other than
names and versions, for more extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1149,7 +1149,9 @@ update-bundled_gems: PHONY $(Q) $(RUNRUBY) -rrubygems \ -pla \ -e '$$_=Gem::SpecFetcher.fetcher.detect(:latest) {|s|' \ - -e 'break "#{s.name} #{s.version}" if s.platform=="ruby"&&s.name==$$F[0]' \ + -e 'if s.platform=="ruby"&&s.name==$$F[0]' \ + -e 'break [s.name, s.version, *$$F[2..-1]].join(" ")' \ + -e 'end' \ -e '}' \ "$(srcdir)/gems/bundled_gems" | \ "$(IFCHANGE)" "$(srcdir)/gems/bundled_gems" - |