Commit 5cd42454 authored by Kenneth Reitz's avatar Kenneth Reitz

Skip copying the code if we're already in the right spot

parent 40daa84c
...@@ -92,7 +92,10 @@ if [[ ! "$DOCKER_BUILD" ]]; then ...@@ -92,7 +92,10 @@ if [[ ! "$DOCKER_BUILD" ]]; then
# Copy Application code in. # Copy Application code in.
bpwatch start appdir_stage 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 bpwatch stop appdir_stage
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment