ruby-changes:48132
From: nobu <ko1@a...>
Date: Sat, 21 Oct 2017 18:25:09 +0900 (JST)
Subject: [ruby-changes:48132] nobu:r60246 (trunk): common.mk: preserve rest fields of bundled_gems
nobu 2017-10-21 18:25:05 +0900 (Sat, 21 Oct 2017) New Revision: 60246 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60246 Log: common.mk: preserve rest fields of bundled_gems * common.mk (update-bundled_gems): preserve rest fields other than names and versions, for more extensions. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 60245) +++ common.mk (revision 60246) @@ -1149,7 +1149,9 @@ update-bundled_gems: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1149 $(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" - -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/