simpler collectstatic

This commit is contained in:
Kenneth Reitz
2012-05-30 15:47:39 -04:00
parent 86661c1cda
commit 15573b9d3f
+1 -3
View File
@@ -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