From e55ff8f8ea9abeb7c406b2eec3e91aad8fee6f64 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 11 Jan 2017 16:20:10 -0500 Subject: validate-yaml: use python rather than explicitly python3 The change here is to use '/usr/bin/env python' in validate-yaml.py as all other tools/*.py do. Additionally, change the Makefile to invoke validate-yaml.py with the python that it has selected for other things (PYVER). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5d35dcc0..ed631cf7 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ clean: clean_pyc rm -rf /var/log/cloud-init.log /var/lib/cloud/ yaml: - @$(CWD)/tools/validate-yaml.py $(YAML_FILES) + @$(PYVER) $(CWD)/tools/validate-yaml.py $(YAML_FILES) rpm: ./packages/brpm --distro $(distro) -- cgit v1.2.3