Skip to content
Snippets Groups Projects
Commit c1b277e3 authored by Gaëtan Montury's avatar Gaëtan Montury
Browse files

fix: change _pip to pass cmd then PIP_OPTS

parent c8185952
No related branches found
No related tags found
No related merge requests found
......@@ -747,14 +747,17 @@ variables:
}
function _pip() {
cmd=$1
shift
if [[ "$PYTHON_BUILD_SYSTEM" =~ ^uv ]]
then
maybe_install_uv
# shellcheck disable=SC2086
uv pip ${PIP_OPTS} "$@"
uv pip "$cmd" ${PIP_OPTS} "$@"
else
# shellcheck disable=SC2086
_run pip ${PIP_OPTS} "$@"
_run pip "$cmd" ${PIP_OPTS} "$@"
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment