diff --git a/tool/update-deps b/tool/update-deps index 86e359c0d0..c79a8a61c5 100755 --- a/tool/update-deps +++ b/tool/update-deps @@ -480,7 +480,7 @@ def compare_deps(make_deps, cc_deps, out=$stdout) } } - makefiles.keys.sort.each {|makefile| + makefiles.keys.compact.sort.each {|makefile| cc_lines = cc_lines_hash[makefile] || Hash.new(false) make_lines = make_lines_hash[makefile] || Hash.new(false) content = begin