pip will be installed to /usr/local/bin. Make sure we can find it.

This commit is contained in:
Pedro Algarvio 2019-11-06 22:56:14 +00:00
parent c3afd17974
commit 8e6b6246dd
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -6750,6 +6750,12 @@ install_macosx_stable_deps() {
install_macosx_git_deps() {
install_macosx_stable_deps || return 1
echo "$PATH" | grep -q /usr/local/bin
if [ $? -eq 1 ]; then
echowarn "/usr/local/bin was not found in \$PATH. Adding it for the duration of the script execution."
export PATH=/usr/local/bin:$PATH
fi
__fetch_url "/tmp/get-pip.py" "https://bootstrap.pypa.io/get-pip.py" || return 1
if [ -n "$_PY_EXE" ]; then