aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-31 07:34:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-31 07:34:47 +0000
commitf71c966c82b05dac6f1aefb15ce0ebb26125127a (patch)
tree4655f0586d12c044fd0b3ea837ad3bc571ea1297 /template
parent1b7bac24c83d2f2fddfed49034ab88364b160cec (diff)
downloadruby-f71c966c82b05dac6f1aefb15ce0ebb26125127a.tar.gz
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
Diffstat (limited to 'template')
-rw-r--r--template/exts.mk.tmpl4
1 files changed, 3 insertions, 1 deletions
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!