From 3b17f127cf5771f163c99c6ff50e974228441690 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 15 Nov 2015 12:20:42 +0100 Subject: [PATCH] Fixed remote rotation for filenames containing spaces --- dev/debug_obackup.sh | 4 ++-- dev/n_obackup.sh | 4 ++-- obackup.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev/debug_obackup.sh b/dev/debug_obackup.sh index 4c1dc58..d8c82bd 100755 --- a/dev/debug_obackup.sh +++ b/dev/debug_obackup.sh @@ -6,7 +6,7 @@ PROGRAM="obackup" AUTHOR="(L) 2013-2015 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" PROGRAM_VERSION=2.0-pre -PROGRAM_BUILD=2015111107 +PROGRAM_BUILD=2015111501 IS_STABLE=no FUNC_BUILD=2015111102 @@ -1926,7 +1926,7 @@ function RemoteLogger { function _RotateBackupsRemoteSSH { OLD_IFS=$IFS - IFS=$' \t\n' + IFS=$'\t\n' for backup in $(ls -I "*.$PROGRAM.*" "$backup_path") do copy=$ROTATE_COPIES diff --git a/dev/n_obackup.sh b/dev/n_obackup.sh index 59615ed..a74ad71 100755 --- a/dev/n_obackup.sh +++ b/dev/n_obackup.sh @@ -6,7 +6,7 @@ PROGRAM="obackup" AUTHOR="(L) 2013-2015 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" PROGRAM_VERSION=2.0-pre -PROGRAM_BUILD=2015111107 +PROGRAM_BUILD=2015111501 IS_STABLE=no source "/home/git/common/ofunctions.sh" @@ -1042,7 +1042,7 @@ function RemoteLogger { function _RotateBackupsRemoteSSH { OLD_IFS=$IFS - IFS=$' \t\n' + IFS=$'\t\n' for backup in $(ls -I "*.$PROGRAM.*" "$backup_path") do copy=$ROTATE_COPIES diff --git a/obackup.sh b/obackup.sh index 6a47ef5..8eb92ff 100755 --- a/obackup.sh +++ b/obackup.sh @@ -6,7 +6,7 @@ PROGRAM="obackup" AUTHOR="(L) 2013-2015 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" PROGRAM_VERSION=2.0-pre -PROGRAM_BUILD=2015111107 +PROGRAM_BUILD=2015111501 IS_STABLE=no FUNC_BUILD=2015111102 @@ -1790,7 +1790,7 @@ function RemoteLogger { function _RotateBackupsRemoteSSH { OLD_IFS=$IFS - IFS=$' \t\n' + IFS=$'\t\n' for backup in $(ls -I "*.$PROGRAM.*" "$backup_path") do copy=$ROTATE_COPIES