summaryrefslogtreecommitdiff
path: root/tool/update-deps
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-05 01:01:30 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-16 20:47:23 +0900
commit24cbc50c76f7ccc89f9510250359f3a405d9af68 (patch)
tree85000cad819ec8f1f1c549700b237164f076ac52 /tool/update-deps
parent1f4f6c9832d83e7ebd65ccf4e95cef358b3512c6 (diff)
Remove duplicate `.rbinc` on `.rb` dependencies
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6742
Diffstat (limited to 'tool/update-deps')
-rwxr-xr-xtool/update-deps2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/update-deps b/tool/update-deps
index 0a69a470cd..f142b30be8 100755
--- a/tool/update-deps
+++ b/tool/update-deps
@@ -340,7 +340,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
+ next if /\.e?rb\z/ =~ dep
compiler_wd ||= dep
files[dep] = true
}