updated python_pip_install_if_absent.sh

pull/2/head
Hari Sekhon 3 years ago
parent 6bb3e1072e
commit 48d458a7e6

@ -76,7 +76,7 @@ echo
if is_CI; then
echo "attempting to upgrade pip to solve common CI/CD problems"
sudo='sudo'
if [ "${EUID:${UID:$(id -u)}}" = 0 ]; then
if [ "${EUID:-${UID:-$(id -u)}}" = 0 ]; then
sudo=''
fi
"$sudo" "$python" -m pip install --upgrade pip || :

Loading…
Cancel
Save