summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-01-11 16:20:10 -0500
committerScott Moser <smoser@brickies.net>2017-01-11 16:20:10 -0500
commite55ff8f8ea9abeb7c406b2eec3e91aad8fee6f64 (patch)
treed586b9d136b9597e3e80ed71f0d73c2ab785139f /Makefile
parenta1b185d0cce5064e9b36b4db7b55564e2ab1d7a8 (diff)
downloadvyos-cloud-init-e55ff8f8ea9abeb7c406b2eec3e91aad8fee6f64.tar.gz
vyos-cloud-init-e55ff8f8ea9abeb7c406b2eec3e91aad8fee6f64.zip
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).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)