mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 17:07:36 -02:30
Unbreak the pip-compile command when multiple files are passed in (#14875)
This commit is contained in:
@@ -23,7 +23,7 @@ generate_requirements() {
|
|||||||
# FIXME: https://github.com/jazzband/pip-tools/issues/1558
|
# FIXME: https://github.com/jazzband/pip-tools/issues/1558
|
||||||
${venv}/bin/python3 -m pip install -U 'pip<22.0' pip-tools
|
${venv}/bin/python3 -m pip install -U 'pip<22.0' pip-tools
|
||||||
|
|
||||||
${pip_compile} "$1" --output-file requirements.txt
|
${pip_compile} $1 --output-file requirements.txt
|
||||||
# consider the git requirements for purposes of resolving deps
|
# consider the git requirements for purposes of resolving deps
|
||||||
# Then remove any git+ lines from requirements.txt
|
# Then remove any git+ lines from requirements.txt
|
||||||
if [[ "$sanitize_git" == "1" ]] ; then
|
if [[ "$sanitize_git" == "1" ]] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user