commit d3db84c1e7792e75f75d3fcbf66ba1bbd7617aa9 Author: Nick Mathewson nickm@torproject.org Date: Sat Apr 4 11:31:30 2020 -0400
Make check_subsystem_order work in distcheck builds. --- scripts/maint/practracker/includes.py | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/scripts/maint/practracker/includes.py b/scripts/maint/practracker/includes.py index e08fd0d70..ff465bde6 100755 --- a/scripts/maint/practracker/includes.py +++ b/scripts/maint/practracker/includes.py @@ -270,6 +270,11 @@ def open_or_stdin(fname): return open(fname)
def check_subsys_file(fname, uses_dirs): + if not uses_dirs: + # We're doing a distcheck build, or for some other reason there are + # no .may_include files. + return False + uses_dirs = { normalize_srcdir(k) : { normalize_srcdir(d) for d in v } for (k,v) in uses_dirs.items() } uses_closure = closure(uses_dirs)
tor-commits@lists.torproject.org