From f71c966c82b05dac6f1aefb15ce0ebb26125127a Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 31 Mar 2017 07:34:47 +0000 Subject: exts.mk.tmpl: note footer [ci skip] * template/exts.mk.tmpl: place note footer message at the end. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- template/exts.mk.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl index 3ddc7cb4ca..4d7dc0f2a5 100644 --- a/template/exts.mk.tmpl +++ b/template/exts.mk.tmpl @@ -49,7 +49,9 @@ Dir.glob("{ext,gems}/*/exts.mk") do |e| deps << $& end s.scan(%r"^note:\n((?:\t.+\n)+)") do |(n)| - note |= n.split(/^/) + n = n.split(/^/) + note.pop if n[-1] == note[-1] + note |= n end end deps.uniq! -- cgit v1.2.3