From 15573b9d3f9dbcf20ef3412594402a1ec98e8d70 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Wed, 30 May 2012 15:47:39 -0400
Subject: [PATCH] simpler collectstatic

---
 bin/steps/django/collectstatic | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/bin/steps/django/collectstatic b/bin/steps/django/collectstatic
index f0921952..8389016b 100755
--- a/bin/steps/django/collectstatic
+++ b/bin/steps/django/collectstatic
@@ -21,9 +21,7 @@ set -e
 if [ "$RUN_COLLECTSTATIC" ]; then
     python $MANAGE_FILE collectstatic --noinput | indent
 
-    COLLECTSTATIC=$?
-
-    [ $COLLECTSTATIC -ne 0 ] && [ ! "$SILENCE_COLLECTSTATIC" ] && {
+    [ $? -ne 0 ] && {
         echo " !     Error running manage.py collectstatic. More info:"
         echo "       http://devcenter.heroku.com/articles/django-assets"
         exit 1
-- 
GitLab