Fixed local in non function remote heredoc
This commit is contained in:
parent
5ae98f4fd4
commit
259b707cce
|
@ -1924,10 +1924,10 @@ $SSH_CMD ERROR_ALERT=0 sync_on_changes=$sync_on_changes _SILENT=$_SILENT _DEBUG=
|
||||||
## Empty earlier failed delete list
|
## Empty earlier failed delete list
|
||||||
> "$FAILED_DELETE_LIST"
|
> "$FAILED_DELETE_LIST"
|
||||||
|
|
||||||
local parentdir=
|
parentdir=
|
||||||
|
|
||||||
## On every run, check wheter the next item is already deleted because it is included in a directory already deleted
|
## On every run, check wheter the next item is already deleted because it is included in a directory already deleted
|
||||||
local previous_file=""
|
previous_file=""
|
||||||
OLD_IFS=$IFS
|
OLD_IFS=$IFS
|
||||||
IFS=$'\r\n'
|
IFS=$'\r\n'
|
||||||
for files in $(cat "$FILE_LIST")
|
for files in $(cat "$FILE_LIST")
|
||||||
|
|
|
@ -889,10 +889,10 @@ $SSH_CMD ERROR_ALERT=0 sync_on_changes=$sync_on_changes _SILENT=$_SILENT _DEBUG=
|
||||||
## Empty earlier failed delete list
|
## Empty earlier failed delete list
|
||||||
> "$FAILED_DELETE_LIST"
|
> "$FAILED_DELETE_LIST"
|
||||||
|
|
||||||
local parentdir=
|
parentdir=
|
||||||
|
|
||||||
## On every run, check wheter the next item is already deleted because it is included in a directory already deleted
|
## On every run, check wheter the next item is already deleted because it is included in a directory already deleted
|
||||||
local previous_file=""
|
previous_file=""
|
||||||
OLD_IFS=$IFS
|
OLD_IFS=$IFS
|
||||||
IFS=$'\r\n'
|
IFS=$'\r\n'
|
||||||
for files in $(cat "$FILE_LIST")
|
for files in $(cat "$FILE_LIST")
|
||||||
|
|
4
osync.sh
4
osync.sh
|
@ -1824,10 +1824,10 @@ $SSH_CMD ERROR_ALERT=0 sync_on_changes=$sync_on_changes _SILENT=$_SILENT _DEBUG=
|
||||||
## Empty earlier failed delete list
|
## Empty earlier failed delete list
|
||||||
> "$FAILED_DELETE_LIST"
|
> "$FAILED_DELETE_LIST"
|
||||||
|
|
||||||
local parentdir=
|
parentdir=
|
||||||
|
|
||||||
## On every run, check wheter the next item is already deleted because it is included in a directory already deleted
|
## On every run, check wheter the next item is already deleted because it is included in a directory already deleted
|
||||||
local previous_file=""
|
previous_file=""
|
||||||
OLD_IFS=$IFS
|
OLD_IFS=$IFS
|
||||||
IFS=$'\r\n'
|
IFS=$'\r\n'
|
||||||
for files in $(cat "$FILE_LIST")
|
for files in $(cat "$FILE_LIST")
|
||||||
|
|
Loading…
Reference in New Issue