From 7f99fd6c67f732a706aaac55fc08100b36057109 Mon Sep 17 00:00:00 2001 From: deajan Date: Sat, 6 Aug 2016 13:16:45 +0200 Subject: [PATCH] Fixed double pattern declaration --- dev/ofunctions.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 3b33ab1..05be45f 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -1,4 +1,4 @@ -## FUNC_BUILD=2016071902 +## FUNC_BUILD=2016071902-b ## 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 @@ -1032,8 +1032,6 @@ function RsyncPatternsFromAdd { local pattern_from="${2}" __CheckArguments 2 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG - local pattern_from= - ## Check if the exclude list has a full path, and if not, add the config file path if there is one if [ "$(basename $pattern_from)" == "$pattern_from" ]; then pattern_from="$(dirname $CONFIG_FILE)/$pattern_from"