Commit 8ec95675 authored by Kenneth Reitz's avatar Kenneth Reitz

don't fail

parent c0b4a0e3
...@@ -49,11 +49,13 @@ EOF ...@@ -49,11 +49,13 @@ EOF
# Compile assets. # Compile assets.
set +e
echo "-----> Collecting static files" echo "-----> Collecting static files"
python $PROJECT/manage.py collectstatic --noinput | indent OUT=$(python $PROJECT/manage.py collectstatic --noinput )
[ $? -ne 0 ] && { [ $? -ne 0 ] && {
echo " ! Error running manage.py collectstatic. See http://devcenter.heroku.com/articles/django-assets for more info." echo " ! Error running manage.py collectstatic. See http://devcenter.heroku.com/articles/django-assets for more info."
echo "$OUT" | indent
} }
set -e set -e
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment