Merge pull request #71 from martinec/master
fix: ensure a trailing slash in log dir name
This commit is contained in:
commit
18c7f40a7f
1 changed files with 3 additions and 0 deletions
|
|
@ -177,6 +177,9 @@ if [[ -n "$FTP_PASSWORD" ]]; then
|
||||||
export FTP_PASSWORD
|
export FTP_PASSWORD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Ensure a trailing slash always exists in the log directory name
|
||||||
|
LOGDIR="${LOGDIR%/}/"
|
||||||
|
|
||||||
LOGFILE="${LOGDIR}${LOG_FILE}"
|
LOGFILE="${LOGDIR}${LOG_FILE}"
|
||||||
DUPLICITY="$(which duplicity)"
|
DUPLICITY="$(which duplicity)"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue