Skip to content
Snippets Groups Projects
Unverified Commit 67c3d38a authored by Owen Jacobson's avatar Owen Jacobson
Browse files

Preserve original build directory (including previously-installed programs)...

Preserve original build directory (including previously-installed programs) when moving app to /app during build.

This means that binaries installed in $BUILD_DIR/.heroku/node (let's say) will
remain available during build, at the paths previous buildpacks established.
parent ce3bdb37
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ if [[ ! "$DOCKER_BUILD" ]]; then
# Copy Application code in.
bpwatch start appdir_stage
deep-mv $BUILD_DIR $APP_DIR
deep-cp $BUILD_DIR $APP_DIR
bpwatch stop appdir_stage
fi
......@@ -218,6 +218,7 @@ bpwatch stop dump_cache
if [[ ! "$DOCKER_BUILD" ]]; then
bpwatch start appdir_commit
rm -rf $ORIG_BUILD_DIR
deep-mv $BUILD_DIR $ORIG_BUILD_DIR
bpwatch stop appdir_commit
......
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