Fixed local in non function remote heredoc

This commit is contained in:
deajan 2016-03-31 23:18:06 +02:00
parent 5ae98f4fd4
commit 259b707cce
3 changed files with 6 additions and 6 deletions

View File

@ -1924,10 +1924,10 @@ $SSH_CMD ERROR_ALERT=0 sync_on_changes=$sync_on_changes _SILENT=$_SILENT _DEBUG=
## Empty earlier 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
local previous_file=""
previous_file=""
OLD_IFS=$IFS
IFS=$'\r\n'
for files in $(cat "$FILE_LIST")

View File

@ -889,10 +889,10 @@ $SSH_CMD ERROR_ALERT=0 sync_on_changes=$sync_on_changes _SILENT=$_SILENT _DEBUG=
## Empty earlier 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
local previous_file=""
previous_file=""
OLD_IFS=$IFS
IFS=$'\r\n'
for files in $(cat "$FILE_LIST")

View File

@ -1824,10 +1824,10 @@ $SSH_CMD ERROR_ALERT=0 sync_on_changes=$sync_on_changes _SILENT=$_SILENT _DEBUG=
## Empty earlier 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
local previous_file=""
previous_file=""
OLD_IFS=$IFS
IFS=$'\r\n'
for files in $(cat "$FILE_LIST")