summaryrefslogtreecommitdiff
path: root/tool/update-deps
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-12 12:31:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-12 12:31:01 +0000
commitda1f593acabd1d95b4567170ed886c1cd5f33b9a (patch)
treedf2cf404c2d6d5aa005e5579570b6fc747ebcd1f /tool/update-deps
parent29c9f4a590e8ad415fb88e4309ec5df8bcc868e3 (diff)
Skip erb files, idirect prerequisites
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/update-deps')
-rwxr-xr-xtool/update-deps1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/update-deps b/tool/update-deps
index b451c798b6..9a200bf4da 100755
--- a/tool/update-deps
+++ b/tool/update-deps
@@ -337,6 +337,7 @@ def read_single_cc_deps(path_i, cwd)
next if /\A\# \d+ "(.*)"/ !~ line
dep = $1
next if %r{\A<.*>\z} =~ dep # omit <command-line>, etc.
+ next if /\.erb\z/ =~ dep
compiler_wd ||= dep
files[dep] = true
}