diff --git a/seed/site-formation/templates/site_update b/seed/site-formation/templates/site_update index 47c8590..13f12f0 100644 --- a/seed/site-formation/templates/site_update +++ b/seed/site-formation/templates/site_update @@ -5,7 +5,7 @@ GIT_DIR=%%dirname(%%dirname(%%nginx_root)) REPO_DIR=%%dirname(%%nginx_root) -if [ ! -d $GIT_SITE/.git ]; then +if [ ! -d $REPO_DIR/.git ]; then if [ -d %%nginx_root ]; then rm -rf %%nginx_root fi