mirror of
https://github.com/DictXiong/dxsync.git
synced 2024-11-24 09:31:34 +08:00
bug fix (Mon May 15 17:16:16 CST 2023)
This commit is contained in:
parent
718274af9d
commit
631da6652a
4
sync.sh
4
sync.sh
|
@ -31,7 +31,7 @@ locked() {
|
||||||
|
|
||||||
do_sync() {
|
do_sync() {
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
return;
|
return
|
||||||
fi
|
fi
|
||||||
local name="$1"
|
local name="$1"
|
||||||
local safe_name="${name//\//_}"
|
local safe_name="${name//\//_}"
|
||||||
|
@ -54,7 +54,7 @@ do_sync() {
|
||||||
|
|
||||||
append_index() {
|
append_index() {
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
return;
|
return
|
||||||
fi
|
fi
|
||||||
echo "$1" >> "$STATUS_INDEX"
|
echo "$1" >> "$STATUS_INDEX"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user