From f54dfff8a99f3b0c86c45266dd04d07411fe558b Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Mon, 19 Dec 2016 22:12:57 -0500
Subject: [PATCH] fix permission denied

---
 bin/compile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/compile b/bin/compile
index c2150e2f..ae3cfe55 100755
--- a/bin/compile
+++ b/bin/compile
@@ -209,6 +209,7 @@ set-default-env PYTHONPATH /app/
 # Install sane-default script for $WEB_CONCURRENCY and $FORWARDED_ALLOW_IPS.
 cp $ROOT_DIR/vendor/python.gunicorn.sh $GUNICORN_PROFILE_PATH
 
+rm -fr $BUILD_DIR/.heroku/src
 deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src
 
 # Experimental post_compile hook.
-- 
GitLab