fix symantec best practice on empty var
This commit is contained in:
parent
1b3b151008
commit
b91fd028b8
@ -71,7 +71,7 @@ stamp () {
|
|||||||
## script related
|
## script related
|
||||||
# store logfile in the same directory as this script file using the same file
|
# store logfile in the same directory as this script file using the same file
|
||||||
# name as the script but with the extension '.log'
|
# 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" )"
|
scriptName="$( basename "$0" )"
|
||||||
logFile="$scriptPath/${scriptName%.*}.log"
|
logFile="$scriptPath/${scriptName%.*}.log"
|
||||||
# borg output verbosity -- normal
|
# borg output verbosity -- normal
|
||||||
|
Loading…
Reference in New Issue
Block a user