Commit 5a6e4e49 authored by Kenneth Reitz's avatar Kenneth Reitz

cleanup collectstatic output

parent b6eada4e
......@@ -15,12 +15,11 @@ echo "-----> Collecting static files"
# Compile assets if collectstatic appears to be kosher.
if [ "$RUN_COLLECTSTATIC" ]; then
python $MANAGE_FILE collectstatic --noinput | sed '/^Copying/d;/^$/d' | indent
python $MANAGE_FILE collectstatic --noinput 2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent
[ $? -ne 0 ] && {
echo " ! Error running manage.py collectstatic. More info:"
echo " http://devcenter.heroku.com/articles/django-assets"
exit 1
}
else
......@@ -28,4 +27,5 @@ else
echo " http://devcenter.heroku.com/articles/django-assets"
fi
echo
\ No newline at end of file
echo
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