From 3ea0735768c605ddd74ad8072b404a30be6cb1e2 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Tue, 5 May 2015 18:33:49 -0700 Subject: [PATCH] orig_build_dir --- bin/compile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/compile b/bin/compile index 4f47a490..50e84c03 100755 --- a/bin/compile +++ b/bin/compile @@ -87,6 +87,7 @@ fi # Set new context. +ORIG_BUILD_DIR=$BUILD_DIR BUILD_DIR=$APP_DIR # Prepend proper path buildpack use. @@ -211,6 +212,10 @@ bpwatch stop dump_cache # ### Fin. if [[ ! "$DOCKER_BUILD" ]]; then + bpwatch start appdir_commit + deep-mv $BUILD_DIR $ORIG_BUILD_DIR + bpwatch stop appdir_commit + bpwatch start anvil_appdir_commit if [ "$SLUG_ID" ]; then deep-mv $TMP_APP_DIR $APP_DIR -- GitLab