Skip to content

Commit

Permalink
Merge pull request #3096 from tmjbios/detect_curl
Browse files Browse the repository at this point in the history
[bugfix] Detect missing `curl` in `bootstrap.sh`
  • Loading branch information
vkarak authored Jan 20, 2024
2 parents e118231 + 4cf84a6 commit 98a0a46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ else
get_pip_url="https://bootstrap.pypa.io/pip/3.6/get-pip.py"
fi

if ! type "curl" > /dev/null 2>&1; then
echo -e "could not find \`curl': please install curl and try again"
exit 1
fi

INFO "curl -s $get_pip_url | $python"
curl -s $get_pip_url | $python

Expand Down

0 comments on commit 98a0a46

Please sign in to comment.