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 }