From 5a24dd27605ddd6929edae9935ae112c69db94a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 1 Apr 2021 22:15:00 +0200 Subject: [PATCH] bypass linter warning --- scripts/_common.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index cc8c7fe..9c2d489 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -49,15 +49,16 @@ install_source() { test -e $final_path/bin/python3 || python3 -m venv $final_path # Install pgadmin in virtualenv - set +u; + u_arg='u' + set +$u_arg; source $final_path/bin/activate set -u; pip3 install --upgrade pip pip3 install --upgrade 'Werkzeug<1.0' pip3 install --upgrade pgadmin$app_main_version==$app_sub_version - set +u; + set +$u_arg; deactivate - set -u; + set -$u_arg; fi }