Added derived paths to files

This commit is contained in:
Asif Bacchus 2018-09-04 18:20:38 -06:00
parent d38ec9c9dd
commit 94ff195a9e

7
root/scripts/borgbackup.sh Normal file → Executable file
View File

@ -96,3 +96,10 @@ fi
echo -e "\e[1;32m[`date +%Y-%m-%d` `date +%H:%M:%S`]" \
"--Begin backup operations--\e[0m" >> $logFile
## Parse supplied variables and determine additional script vars
scriptPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
err503FullPath="$scriptPath/$err503FileName"
## Export logfle location for use by external programs
export logFile="$logFile"