Unverified Commit 758f8f4b authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5080 from wataash/fix-dep-read

Fix skipping reading file
parents 9757616c 069d9bb4
...@@ -166,7 +166,7 @@ module MRuby ...@@ -166,7 +166,7 @@ module MRuby
file = file.ext('d') unless File.extname(file) == '.d' file = file.ext('d') unless File.extname(file) == '.d'
return [MRUBY_CONFIG] unless File.exist?(file) 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: # dep_line:
# - "/build/host/src/array.o: /src/array.c /include/mruby/common.h ..." # - "/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