Merge pull request #75 from csmithATsquiz/tmpdir
add an option to set the tmpdir for duplicity to use.
This commit is contained in:
commit
edca6379ec
2 changed files with 7 additions and 0 deletions
|
|
@ -269,3 +269,6 @@ MAIL="mailx" # default command for Linux mail
|
|||
# printed to the logfile. This way, you can see if the problem is with the
|
||||
# script or with duplicity.
|
||||
#ECHO=$(which echo)
|
||||
|
||||
# Set the tmpdir for duplicity to use.
|
||||
#TMPDIR="/tmp"
|
||||
|
|
|
|||
|
|
@ -177,6 +177,10 @@ if [[ -n "$FTP_PASSWORD" ]]; then
|
|||
export FTP_PASSWORD
|
||||
fi
|
||||
|
||||
if [[ -n "$TMPDIR" ]]; then
|
||||
export TMPDIR
|
||||
fi
|
||||
|
||||
# Ensure a trailing slash always exists in the log directory name
|
||||
LOGDIR="${LOGDIR%/}/"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue