[tor-commits] [tor/master] Whoops; only run lintchanges when usepython

nickm at torproject.org nickm at torproject.org
Thu Sep 21 21:32:32 UTC 2017


commit 9af06bdd1ed4894261fe350d0bb4fee5df7264ee
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Sep 21 17:32:17 2017 -0400

    Whoops; only run lintchanges when usepython
---
 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 7c454f79c..ad2ceb66a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -216,9 +216,11 @@ check-logs:
 
 .PHONY: check-changes
 check-changes:
+if USEPYTHON
 	@if test -d "$(top_srcdir)/changes"; then \
 		$(PYTHON) $(top_srcdir)/scripts/maint/lintChanges.py $(top_srcdir)/changes; \
 		fi
+endif
 
 .PHONY: update-versions
 update-versions:



More information about the tor-commits mailing list