修复备份脚本""问题
This commit is contained in:
parent
f109a84744
commit
743aff6bb3
@ -87,8 +87,8 @@ cat > "${path}/backup.sh" << EOF
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
declare date_time=\$(date +"%Y_%m_%d") # 日期格式
|
declare date_time=\$(date +"%Y_%m_%d") # 日期格式
|
||||||
declare year=\$(date +"%Y") #年份
|
declare year=\$(date +"%Y") #年份
|
||||||
declare ignore=$ignore
|
declare ignore="$ignore"
|
||||||
source \"${path}/venv/bin/activate\"
|
source "${path}/venv/bin/activate"
|
||||||
|
|
||||||
for item in "$web_path"/*; do
|
for item in "$web_path"/*; do
|
||||||
declare item_name=\$(basename "\$item")
|
declare item_name=\$(basename "\$item")
|
||||||
|
Loading…
Reference in New Issue
Block a user