better error message

This commit is contained in:
Kenneth Reitz
2013-01-02 20:45:57 -05:00
parent 161bf49a3a
commit 0f7fca9e03
+2 -3
View File
@@ -141,9 +141,8 @@ if [ ! "$SKIP_INSTALL" ]; then
puts-step "Preparing Python runtime ($PYTHON_VERSION)"
curl http://envy-versions.s3.amazonaws.com/$PYTHON_VERSION.tar.bz2 -s | tar jx > /dev/null
if [[ $rc != 0 ]] ; then
puts-warn "Requested runtime ($PYTHON_VERSION) was not found. More info:"
puts-warn "https://devcenter.heroku.com/articles/python-support"
puts-warn "Aborting."
puts-warn "Requested runtime ($PYTHON_VERSION) was not found."
puts-warn "Aborting. More info: https://devcenter.heroku.com/articles/python-support"
exit 1
fi
mv python .heroku/python