diff --git a/CHANGELOG.md b/CHANGELOG.md index 88fee246c72f3285194aa93918552f7a2e6090e1..a6b98fc129fdbb867600ece2b3dc8a5cf942e229 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 fbd9b880b99c1385073e3d7b6cdc3e326ebcbd97..b779b7e45eeb8bdda5ef6c03ee24ec0dfc8ddfb6 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]}"