Fix skipping reading file

parent 9757616c
......@@ -166,7 +166,7 @@ module MRuby
file = file.ext('d') unless File.extname(file) == '.d'
return [MRUBY_CONFIG] unless File.exist?(file)
deps = "".gsub("\\\n ", "").split("\n").map do |dep_line|
deps = File.read(file).gsub("\\\n ", "").split("\n").map do |dep_line|
# dep_line:
# - "/build/host/src/array.o: /src/array.c /include/mruby/common.h ..."
# - ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment