From 743aff6bb3105f9cbc14d4abca327489f9cef27b Mon Sep 17 00:00:00 2001 From: lsy Date: Sun, 22 Sep 2024 23:40:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=87=E4=BB=BD=E8=84=9A?= =?UTF-8?q?=E6=9C=AC""=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Config/Automation/backup.sh b/Config/Automation/backup.sh index 512c709..0ed2a72 100644 --- a/Config/Automation/backup.sh +++ b/Config/Automation/backup.sh @@ -87,8 +87,8 @@ cat > "${path}/backup.sh" << EOF #!/bin/bash declare date_time=\$(date +"%Y_%m_%d") # 日期格式 declare year=\$(date +"%Y") #年份 -declare ignore=$ignore -source \"${path}/venv/bin/activate\" +declare ignore="$ignore" +source "${path}/venv/bin/activate" for item in "$web_path"/*; do declare item_name=\$(basename "\$item")