From daff85768d8ecda932aae6b055314775a9a806eb Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 15 Jan 2019 16:21:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=A4=E8=BE=B9=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/csvn/hook/commit.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/csvn/hook/commit.tpl b/plugins/csvn/hook/commit.tpl index d165f8fc3..886abed28 100755 --- a/plugins/csvn/hook/commit.tpl +++ b/plugins/csvn/hook/commit.tpl @@ -30,5 +30,5 @@ cd $SAVE_PATH && svn update --username={$CSVN_USER} --password={$CSVN_PWD} --no- WEB_PATH={$PROJECT_DIR}/wwwroot/$REPOS sudo mkdir -p $WEB_PATH -sudo rsync -vauP --exclude=".*" $SAVE_PATH/ $WEB_PATH +sudo rsync -vauP --delete --exclude=".*" $SAVE_PATH/ $WEB_PATH sudo chown -R www:www $WEB_PATH \ No newline at end of file