Only pull if we didn't just clone pyenv

This commit is contained in:
Matthew Snyder 2018-07-13 11:01:51 -07:00
parent 63e29eba47
commit 3a7ff0bee1

View File

@ -5,8 +5,9 @@ echoerr() {
ensure_python_build_installed() {
if [ ! -f "$(python_build_path)" ]; then
download_python_build
fi
else
git -C "$(pyenv_path)" pull > /dev/null || true
fi
}
download_python_build() {