mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip erb files, idirect prerequisites
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
29c9f4a590
commit
da1f593aca
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue