mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
293b9d66af
commit
d5b34b5331
1 changed files with 3 additions and 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" -
|
||||
|
|
Loading…
Add table
Reference in a new issue