From 2e9fd6658d36410b9098a4d5fdfc3969b1c042d0 Mon Sep 17 00:00:00 2001 From: lsy Date: Mon, 5 Aug 2024 21:39:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=BB=BD=E8=84=9A=E6=9C=AC=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Automation/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config/Automation/backup.sh b/Config/Automation/backup.sh index 5a56717..3249dda 100644 --- a/Config/Automation/backup.sh +++ b/Config/Automation/backup.sh @@ -76,7 +76,7 @@ fi cat > "${path}/backup.sh" << EOF #!/bin/bash declare date_time=$(date +"%Y_%m_%d") # 日期格式 -declare year=$(date +"%Y") #年份 +declare year=\$(date +"%Y") #年份 source "${path}/venv/bin/activate" for item in "$web_path"/*; do