mirror of
https://github.com/deajan/obackup.git
synced 2025-01-12 07:03:54 +01:00
Fixed wrong file size detection
This commit is contained in:
parent
3b17f127cf
commit
87dd950199
@ -6,7 +6,7 @@ PROGRAM="obackup"
|
|||||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=2.0-pre
|
PROGRAM_VERSION=2.0-pre
|
||||||
PROGRAM_BUILD=2015111501
|
PROGRAM_BUILD=2015111502
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
FUNC_BUILD=2015111102
|
FUNC_BUILD=2015111102
|
||||||
@ -1227,7 +1227,7 @@ function ListRecursiveBackupDirectories {
|
|||||||
IFS=$PATH_SEPARATOR_CHAR
|
IFS=$PATH_SEPARATOR_CHAR
|
||||||
for directory in $DIRECTORY_LIST
|
for directory in $DIRECTORY_LIST
|
||||||
do
|
do
|
||||||
FILE_SIZE_LIST="$FILE_SIZE_LIST $(EscapeSpaces $line)"
|
FILE_SIZE_LIST="$FILE_SIZE_LIST $(EscapeSpaces $directory)"
|
||||||
if [ "$FILE_BACKUP_TASKS" == "" ]; then
|
if [ "$FILE_BACKUP_TASKS" == "" ]; then
|
||||||
FILE_BACKUP_TASKS="$directory"
|
FILE_BACKUP_TASKS="$directory"
|
||||||
else
|
else
|
||||||
|
@ -6,7 +6,7 @@ PROGRAM="obackup"
|
|||||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=2.0-pre
|
PROGRAM_VERSION=2.0-pre
|
||||||
PROGRAM_BUILD=2015111501
|
PROGRAM_BUILD=2015111502
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
source "/home/git/common/ofunctions.sh"
|
source "/home/git/common/ofunctions.sh"
|
||||||
@ -343,7 +343,7 @@ function ListRecursiveBackupDirectories {
|
|||||||
IFS=$PATH_SEPARATOR_CHAR
|
IFS=$PATH_SEPARATOR_CHAR
|
||||||
for directory in $DIRECTORY_LIST
|
for directory in $DIRECTORY_LIST
|
||||||
do
|
do
|
||||||
FILE_SIZE_LIST="$FILE_SIZE_LIST $(EscapeSpaces $line)"
|
FILE_SIZE_LIST="$FILE_SIZE_LIST $(EscapeSpaces $directory)"
|
||||||
if [ "$FILE_BACKUP_TASKS" == "" ]; then
|
if [ "$FILE_BACKUP_TASKS" == "" ]; then
|
||||||
FILE_BACKUP_TASKS="$directory"
|
FILE_BACKUP_TASKS="$directory"
|
||||||
else
|
else
|
||||||
|
@ -6,7 +6,7 @@ PROGRAM="obackup"
|
|||||||
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=2.0-pre
|
PROGRAM_VERSION=2.0-pre
|
||||||
PROGRAM_BUILD=2015111501
|
PROGRAM_BUILD=2015111502
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
FUNC_BUILD=2015111102
|
FUNC_BUILD=2015111102
|
||||||
@ -1118,7 +1118,7 @@ function ListRecursiveBackupDirectories {
|
|||||||
IFS=$PATH_SEPARATOR_CHAR
|
IFS=$PATH_SEPARATOR_CHAR
|
||||||
for directory in $DIRECTORY_LIST
|
for directory in $DIRECTORY_LIST
|
||||||
do
|
do
|
||||||
FILE_SIZE_LIST="$FILE_SIZE_LIST $(EscapeSpaces $line)"
|
FILE_SIZE_LIST="$FILE_SIZE_LIST $(EscapeSpaces $directory)"
|
||||||
if [ "$FILE_BACKUP_TASKS" == "" ]; then
|
if [ "$FILE_BACKUP_TASKS" == "" ]; then
|
||||||
FILE_BACKUP_TASKS="$directory"
|
FILE_BACKUP_TASKS="$directory"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user