Skip to content

Commit

Permalink
Fix hardcoded python call (ansible#79520)
Browse files Browse the repository at this point in the history
Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
  • Loading branch information
leegarrett and Lee Garrett committed Dec 6, 2022
1 parent 3cdf589 commit 3fd519d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docsite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 3fd519d

Please sign in to comment.