From 86e92cfb9c474bbd93aefc4c866a299e9b53ce7d Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 15 Feb 2023 17:49:56 +0100 Subject: [PATCH] fix variable name --- seed/site-formation/templates/site_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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