From 79374e473f319d9834ac27da79284501803ff642 Mon Sep 17 00:00:00 2001 From: Mathieu Le Marec - Pasquet Date: Wed, 5 Mar 2025 21:39:40 +0200 Subject: [PATCH] fix install fixer --- bin/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/install.sh b/bin/install.sh index 2efa3a45..1ca6f8c8 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -1328,7 +1328,8 @@ reinstall_egg_path() { } try_fix_deps() { - if ! ( $COPS_PYTHON -m pip --version );then + local COPS_PYTHON=${COPS_PYTHON:-$(get_cops_python)} + if ! ( $COPS_PYTHON -m pip --version &>/dev/null );then log "Trying to install missing dependencies(fix)" DO_INSTALL_PREREQUISITES=y install_prerequisites || die "install prereqs(fix) failed" fi