diff --git a/backup_new.sh b/backup_new.sh index c98244d..7e7500b 100755 --- a/backup_new.sh +++ b/backup_new.sh @@ -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