This commit is contained in:
2016-02-05 01:07:05 -05:00
parent eb3e7851f7
commit 6505f98bae
+1 -3
View File
@@ -30,9 +30,7 @@ if [ ! "$DISABLE_COLLECTSTATIC" ] && [ -f "$MANAGE_FILE" ] && [ "$DJANGO_INSTALL
echo "-----> Preparing static assets with 'collectstatic'"
# Run collectstatic, cleanup some of the noisy output.
python $MANAGE_FILE collectstatic --noinput --traceback 2>&1 | sed '/^Post-processed/d;/^Copying/d;/^$/d;/^ /d' | indent
echo
python $MANAGE_FILE collectstatic 2>&1 | sed '/^Copying/d;/^$/d' | indent
python $MANAGE_FILE collectstatic --noinput --traceback 2>&1 | sed '/^Post-processed/d;/^Copying/d;/^$/d' | indent
COLLECTSTATIC_STATUS="${PIPESTATUS[0]}"
set -e