cleanup collectstatic output

This commit is contained in:
Kenneth Reitz
2012-05-31 02:44:56 -04:00
parent b6eada4e67
commit 5a6e4e49b4
+3 -3
View File
@@ -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
echo