diff --git a/bootstrap.sh b/bootstrap.sh index 34f51c06cb..8964897472 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -71,11 +71,12 @@ fi # Check if ensurepip is installed $python -m ensurepip --version &> /dev/null +epip=$? export PATH=$(pwd)/external/usr/bin:$PATH # Install pip for Python 3 -if [ $? -eq 0 ]; then +if [ $epip -eq 0 ]; then CMD $python -m ensurepip --root $(pwd)/external/ --default-pip fi