mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Skip copying the code if we're already in the right spot
This commit is contained in:
+4
-1
@@ -92,7 +92,10 @@ if [[ ! "$DOCKER_BUILD" ]]; then
|
||||
|
||||
# Copy Application code in.
|
||||
bpwatch start appdir_stage
|
||||
deep-cp $BUILD_DIR $APP_DIR
|
||||
# Skip copying the code if we're already in the right spot.
|
||||
if [[ $BUILD_DIR != "/app" ]]; then
|
||||
deep-cp $BUILD_DIR $APP_DIR
|
||||
fi
|
||||
bpwatch stop appdir_stage
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user