Skip to content
Snippets Groups Projects
Commit 15573b9d authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

simpler collectstatic

parent 86661c1c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment