fix symantec best practice on empty var

This commit is contained in:
Asif Bacchus 2019-05-23 21:46:34 -06:00
parent 1b3b151008
commit b91fd028b8
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ stamp () {
## script related
# store logfile in the same directory as this script file using the same file
# name as the script but with the extension '.log'
scriptPath="$( CDPATH= cd -- "$( dirname -- "$0" )" && pwd -P )"
scriptPath="$( CDPATH='' cd -- "$( dirname -- "$0" )" && pwd -P )"
scriptName="$( basename "$0" )"
logFile="$scriptPath/${scriptName%.*}.log"
# borg output verbosity -- normal