File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- #!/usr/bin/python
1+ #!/usr/bin/env python3
22
33"""Utility script to convert OCP docs from adoc to plain text."""
44
Original file line number Diff line number Diff line change 1- #!/usr/bin/python
1+ #!/usr/bin/env python3
22
33"""Generate list of packages to be prefetched in Cachi2 and used in Konflux for hermetic build.
44
@@ -147,7 +147,7 @@ def generate_packages_to_be_build(work_directory):
147147
148148 # generate file requirements-build.in
149149 command = (
150- "python pip_find_builddeps.py requirements.txt --append "
150+ "python3 pip_find_builddeps.py requirements.txt --append "
151151 + f"--only-write-on-update --ignore-errors --allow-binary -o { infile } "
152152 )
153153 shell (command , work_directory )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ rm -rf ocp-product-docs-plaintext/${OCP_VERSION}
99
1010git clone --single-branch --branch enterprise-${OCP_VERSION} https://github.com/openshift/openshift-docs.git
1111
12- python scripts/asciidoctor-text/convert-it-all.py -i openshift-docs -t openshift-docs/_topic_maps/_topic_map.yml \
12+ python3 scripts/asciidoctor-text/convert-it-all.py -i openshift-docs -t openshift-docs/_topic_maps/_topic_map.yml \
1313 -d openshift-enterprise -o ocp-product-docs-plaintext/${OCP_VERSION} -a scripts/asciidoctor-text/${OCP_VERSION} /attributes.yaml
1414
1515for f in $( cat config/exclude.conf) ; do
You can’t perform that action at this time.
0 commit comments