diff options
Diffstat (limited to 'template/exts.mk.tmpl')
-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! |