This commit is contained in:
Kenneth Reitz
2012-05-30 02:54:57 -04:00
parent 713fa36bca
commit 36d27c46ed
+5 -3
View File
@@ -13,8 +13,8 @@ fi
# Compile assets if collectstatic appears to be kosher.
if [ "$RUN_COLLECTSTATIC" ]; then
echo "-----> Collecting static files"
echo "python $MANAGE_FILE collectstatic --noinput --verbosity=0"
python $MANAGE_FILE collectstatic --noinput --verbosity=0 | indent
echo "python $MANAGE_FILE collectstatic --noinput"
python $MANAGE_FILE collectstatic --noinput | indent
[ $? -ne 0 ] && {
echo " ! Error running manage.py collectstatic. More info:"
@@ -23,4 +23,6 @@ if [ "$RUN_COLLECTSTATIC" ]; then
else
echo " ! Django collecstatic is not configured. Learn more:"
echo " http://devcenter.heroku.com/articles/django-assets"
fi
fi
echo '\n'