diff --git a/bin/steps/collectstatic b/bin/steps/collectstatic index 647ab92d5a03ec001e2b3a1db9bf92b90831391f..989490be420ae21ded15952f72b3c319b3fbb538 100755 --- a/bin/steps/collectstatic +++ b/bin/steps/collectstatic @@ -30,6 +30,7 @@ if [ ! "$DISABLE_COLLECTSTATIC" ] && [ -f "$MANAGE_FILE" ] && [ "$DJANGO_INSTALL puts-step "$ python $MANAGE_FILE collectstatic --noinput" # Run collectstatic, cleanup some of the noisy output. + export PYTHONPATH=. python "$MANAGE_FILE" collectstatic --noinput --traceback 2>&1 | sed '/^Post-processed/d;/^Copying/d;/^$/d' | indent COLLECTSTATIC_STATUS="${PIPESTATUS[0]}"