mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Lower check of TOR_DISABLE_PRACTRACKER
Since we sometimes call practracker directly, that's where we should check the TOR_DISABLE_PRACTRACKER envvar.
This commit is contained in:
parent
8d3f3e5d30
commit
3221dc1b32
@ -369,9 +369,7 @@ endif
|
||||
|
||||
check-best-practices:
|
||||
if USEPYTHON
|
||||
@if test "$$TOR_DISABLE_PRACTRACKER" = ""; then \
|
||||
$(PYTHON) $(top_srcdir)/scripts/maint/practracker/practracker.py $(top_srcdir); \
|
||||
fi
|
||||
@$(PYTHON) $(top_srcdir)/scripts/maint/practracker/practracker.py $(top_srcdir)
|
||||
endif
|
||||
|
||||
practracker-regen:
|
||||
|
@ -246,4 +246,6 @@ variable.
|
||||
sys.exit(found_new_issues)
|
||||
|
||||
if __name__ == '__main__':
|
||||
if os.environ.get("TOR_DISABLE_PRACTRACKER"):
|
||||
sys.exit(0)
|
||||
main(sys.argv)
|
||||
|
Loading…
Reference in New Issue
Block a user