Skip to content
Snippets Groups Projects
Commit 573ded6d authored by Jason Dusek's avatar Jason Dusek Committed by Kenneth Reitz
Browse files

Idempotency in symlink creation (#349)

parent b4ec3543
No related branches found
No related tags found
No related merge requests found
...@@ -160,9 +160,9 @@ mkdir -p /app/.heroku/src ...@@ -160,9 +160,9 @@ mkdir -p /app/.heroku/src
if [[ $BUILD_DIR != '/app' ]]; then if [[ $BUILD_DIR != '/app' ]]; then
# python expects to reside in /app, so set up symlinks # python expects to reside in /app, so set up symlinks
# we will not remove these later so subsequent buildpacks can still invoke it # we will not remove these later so subsequent buildpacks can still invoke it
ln -s $BUILD_DIR/.heroku/python /app/.heroku/python ln -nsf $BUILD_DIR/.heroku/python /app/.heroku/python
ln -s $BUILD_DIR/.heroku/vendor /app/.heroku/vendor ln -nsf $BUILD_DIR/.heroku/vendor /app/.heroku/vendor
ln -s $BUILD_DIR/.heroku/venv /app/.heroku/venv ln -nsf $BUILD_DIR/.heroku/venv /app/.heroku/venv
# Note: .heroku/src is copied in later. # Note: .heroku/src is copied in later.
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment