Unexpanded all source files
This commit is contained in:
parent
7bc93df5e6
commit
23cac5cad6
|
@ -4,7 +4,7 @@ PROGRAM=[prgname]
|
|||
PROGRAM_VERSION=[version]
|
||||
PROGRAM_BINARY=$PROGRAM".sh"
|
||||
PROGRAM_BATCH=$PROGRAM"-batch.sh"
|
||||
SCRIPT_BUILD=2016112401
|
||||
SCRIPT_BUILD=2016120801
|
||||
|
||||
## osync / obackup / pmocr / zsnap install script
|
||||
## Tested on RHEL / CentOS 6 & 7, Fedora 23, Debian 7 & 8, Mint 17 and FreeBSD 8 & 10
|
||||
|
@ -64,7 +64,7 @@ function QuickLogger {
|
|||
fi
|
||||
}
|
||||
|
||||
function urlencode() {
|
||||
function UrlEncode() {
|
||||
# urlencode <string>
|
||||
|
||||
local LANG=C
|
||||
|
@ -122,7 +122,7 @@ function SetOSSettings {
|
|||
exit 1
|
||||
fi
|
||||
|
||||
OS=$(urlencode "$localOsVar")
|
||||
OS=$(UrlEncode "$localOsVar")
|
||||
}
|
||||
|
||||
function GetInit {
|
||||
|
|
|
@ -955,7 +955,7 @@ function syncAttrs {
|
|||
WaitForTaskCompletion $! $SOFT_MAX_EXEC_TIME $HARD_MAX_EXEC_TIME $SLEEP_TIME $KEEP_LOGGING false true false
|
||||
retval=$?
|
||||
|
||||
if [ $retval !-ne 0 ] && [ $retval -ne 24 ]; then
|
||||
if [ $retval -ne 0 ] && [ $retval -ne 24 ]; then
|
||||
Logger "Updating file attributes on $destReplica [$retval]. Stopping execution." "CRITICAL" $retval
|
||||
if [ -f "$RUN_DIR/$PROGRAM.attr-update.$destReplica.$SCRIPT_PID" ]; then
|
||||
Logger "Rsync output:\n$(cat $RUN_DIR/$PROGRAM.attr-update.$destReplica.$SCRIPT_PID)" "NOTICE"
|
||||
|
|
Loading…
Reference in New Issue