From 5a6e4e49b451babea44bf1fbcd87efb668f94139 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 31 May 2012 02:44:56 -0400 Subject: [PATCH] cleanup collectstatic output --- bin/steps/django/collectstatic | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/steps/django/collectstatic b/bin/steps/django/collectstatic index ebeaa15..80cacdc 100755 --- a/bin/steps/django/collectstatic +++ b/bin/steps/django/collectstatic @@ -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 +