Don't do more cloning that necessary

This commit is contained in:
Luke Murphy 2020-12-29 17:06:49 +01:00
parent 3a9e141b24
commit 67cce192df
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

3
abra
View File

@ -356,8 +356,6 @@ load_custom_commands() {
if [ -n "$abra__domain_" ]; then
load_instance
load_instance_env
require_app_clone "$APP"
fi
if [ -f "$APP_DIR/abra-commands.sh" ]; then
@ -625,7 +623,6 @@ sub_app_deploy (){
prompt_confirm
APP=$(basename "$APP_DIR")
require_app_clone "$APP"
(
cd "$APP_DIR" || error "\$APP_DIR '$APP_DIR' not found"