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")