From 2b14648e14f7671976222d00ed560a97549e9dc8 Mon Sep 17 00:00:00 2001 From: deajan Date: Fri, 2 Sep 2016 21:45:37 +0200 Subject: [PATCH] Fixed EscapeSpaces with bash >= 4.3 --- dev/n_osync.sh | 4 ++-- dev/ofunctions.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/n_osync.sh b/dev/n_osync.sh index fa1610a..f3c4357 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -3,8 +3,8 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(C) 2013-2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" -PROGRAM_VERSION=1.1.2 -PROGRAM_BUILD=20160802201 +PROGRAM_VERSION=1.1.3 +PROGRAM_BUILD=2016090201 IS_STABLE=yes source "./ofunctions.sh" diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 05be45f..389adbb 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -1,4 +1,4 @@ -## FUNC_BUILD=2016071902-b +## FUNC_BUILD=2016071902-c ## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr ## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode @@ -568,7 +568,7 @@ function StripQuotes { function EscapeSpaces { local string="${1}" # String on which spaces will be escaped - echo "${string// /\ }" + echo "${string// /\\ }" } function IsNumeric {