about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/tests.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/tests.mk b/mk/tests.mk
index d8457a4f497..75da5c1220a 100644
--- a/mk/tests.mk
+++ b/mk/tests.mk
@@ -141,13 +141,13 @@ tidy:
 		@$(call E, check: formatting)
 		$(Q)find $(S)src -name '*.r[sc]' \
 		| grep '^$(S)src/test' -v \
-		| xargs -n 10 python $(S)src/etc/tidy.py
+		| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
 		$(Q)find $(S)src/etc -name '*.py' \
-		| xargs -n 10 python $(S)src/etc/tidy.py
+		| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
 		$(Q)echo $(ALL_CS) \
-	  	| xargs -n 10 python $(S)src/etc/tidy.py
+	  	| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
 		$(Q)echo $(ALL_HS) \
-	  	| xargs -n 10 python $(S)src/etc/tidy.py
+	  	| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
 
 endif