mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
turn off immediate exit on error to allow displaying error reason
This commit is contained in:
@@ -71,12 +71,14 @@ fi
|
||||
echo "-----> Installing dependencies using pip version $(bin/pip --version | awk '{print $2}')"
|
||||
PIP_DOWNLOAD_CACHE=$PIP_DOWNLOAD_CACHE bin/pip install --use-mirrors -r requirements.txt | sed -u 's/^/ /'
|
||||
|
||||
set +e
|
||||
OUT=$(virtualenv --relocatable .)
|
||||
[ $? -ne 0 ] && {
|
||||
echo " ! Error making virtualenv relocatable"
|
||||
echo "$OUT" | sed -u 's/^/ /'
|
||||
exit 1
|
||||
}
|
||||
set -e
|
||||
|
||||
# store new artifacts in cache
|
||||
for dir in $VIRTUALENV_DIRS; do
|
||||
|
||||
Reference in New Issue
Block a user