From af3480428a1ab644eeed72e6fd5a3bbdedf39347 Mon Sep 17 00:00:00 2001 From: Axel Bonnet Date: Fri, 11 Oct 2024 09:33:06 +0200 Subject: [PATCH] update boutiques install on the grid --- vip-portal/src/main/resources/vm/wrapper.vm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vip-portal/src/main/resources/vm/wrapper.vm b/vip-portal/src/main/resources/vm/wrapper.vm index 5427229c6..76243c861 100644 --- a/vip-portal/src/main/resources/vm/wrapper.vm +++ b/vip-portal/src/main/resources/vm/wrapper.vm @@ -72,14 +72,15 @@ function checkBosh { if [ -z "$HOMEBOSH" ] then info "bosh not found, trying to install it" - pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org boutiques --prefix $PWD + export PATH="$HOME/.local/bin:$PATH" + pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --user boutiques if [ $? != 0 ] then error "pip install boutiques failed" exit 1 else - export BOSHEXEC="$PWD/bin/bosh" - fi + export BOSHEXEC="bosh" + fi else info "local bosh found in $HOMEBOSH" export BOSHEXEC=$HOMEBOSH