mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Merge pull request #253 from ojacobson/preserve-original-build-dir
Preserve original build directory (including previously-installed programs) when moving app to /app during build.
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user