diff --git a/CHANGELOG.md b/CHANGELOG.md index 88fee24..a6b98fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Python Buildpack Changelog +# 126 + +Bugfixes. + # 125 Bugfixes. diff --git a/bin/steps/collectstatic b/bin/steps/collectstatic index fbd9b88..b779b7e 100755 --- a/bin/steps/collectstatic +++ b/bin/steps/collectstatic @@ -30,7 +30,8 @@ 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=. + PYTHONPATH=${PYTHONPATH:-.} + export PYTHONPATH python "$MANAGE_FILE" collectstatic --noinput --traceback 2>&1 | sed '/^Post-processed/d;/^Copying/d;/^$/d' | indent COLLECTSTATIC_STATUS="${PIPESTATUS[0]}"