From 7e14544e64cddb83803992b2380f85977dbe539e Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 10 Nov 2016 16:24:01 +0100 Subject: [PATCH] Rebuilt targets --- dev/debug_osync.sh | 6 +++--- osync.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev/debug_osync.sh b/dev/debug_osync.sh index 48f77ab..c708ecf 100755 --- a/dev/debug_osync.sh +++ b/dev/debug_osync.sh @@ -4,7 +4,7 @@ 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.2-beta2 -PROGRAM_BUILD=2016111001 +PROGRAM_BUILD=2016111002 IS_STABLE=no # Execution order #__WITH_PARANOIA_DEBUG @@ -3782,8 +3782,8 @@ opts="${opts# *}" else LOG_FILE="$LOGFILE" fi - if [ ! -w "$(dirname LOG_FILE)" ]; then - echo "Cannot write to log [$(dirname LOG_FILE)]." + if [ ! -w "$(dirname $LOG_FILE)" ]; then + echo "Cannot write to log [$(dirname $LOG_FILE)]." else Logger "Script begin, logging to [$LOG_FILE]." "DEBUG" fi diff --git a/osync.sh b/osync.sh index 434372a..be0639e 100755 --- a/osync.sh +++ b/osync.sh @@ -4,7 +4,7 @@ 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.2-beta2 -PROGRAM_BUILD=2016111001 +PROGRAM_BUILD=2016111002 IS_STABLE=no @@ -3614,8 +3614,8 @@ opts="${opts# *}" else LOG_FILE="$LOGFILE" fi - if [ ! -w "$(dirname LOG_FILE)" ]; then - echo "Cannot write to log [$(dirname LOG_FILE)]." + if [ ! -w "$(dirname $LOG_FILE)" ]; then + echo "Cannot write to log [$(dirname $LOG_FILE)]." else Logger "Script begin, logging to [$LOG_FILE]." "DEBUG" fi