summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Garrett <leegarrett@users.noreply.github.com>2022-12-06 22:43:43 +0100
committerGitHub <noreply@github.com>2022-12-06 16:43:43 -0500
commit3fd519de57613d25ec6e252d023fc865b8e35876 (patch)
treeaf73dde4ed139e6f6c7ae49203f2e69ac62212a2
parent3cdf589ca78fa1e0b5dc7330383e1047c35014a7 (diff)
downloadansible-3fd519de57613d25ec6e252d023fc865b8e35876.tar.gz
Fix hardcoded python call (#79520)
Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
-rw-r--r--docs/docsite/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile
index 4e9cf2726f..f8e8759098 100644
--- a/docs/docsite/Makefile
+++ b/docs/docsite/Makefile
@@ -82,7 +82,7 @@ gettext_generate_rst: collections_meta config cli keywords testing
ansible_structure:
# We must have python and python-packaging for the version_helper
# script so use it for version comparison
- if python -c "import sys, packaging.version as p; sys.exit(not p.Version('$(MAJOR_VERSION)') > p.Version('2.10'))" ; then \
+ if $(PYTHON) -c "import sys, packaging.version as p; sys.exit(not p.Version('$(MAJOR_VERSION)') > p.Version('2.10'))" ; then \
echo "Creating symlinks in ansible_structure"; \
ln -sf ../rst/ansible_index.rst rst/index.rst; \
ln -sf ../dev_guide/ansible_index.rst rst/dev_guide/index.rst; \