diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-31 07:34:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-31 07:34:47 +0000 |
commit | c527fa1341b3855de37257d3089024eee55e97d4 (patch) | |
tree | 4655f0586d12c044fd0b3ea837ad3bc571ea1297 | |
parent | cdaf6db096348b792bd6a7f2f52d35fd3df1da64 (diff) | |
download | ruby-c527fa1341b3855de37257d3089024eee55e97d4.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
-rw-r--r-- | template/exts.mk.tmpl | 4 |
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! |