export borg remote location env var

This commit is contained in:
Asif Bacchus 2019-05-27 05:31:08 -06:00
parent 6c8fc8bcdf
commit 1c85071ca4
1 changed files with 3 additions and 0 deletions

View File

@ -464,6 +464,9 @@ else
export BORG_PASSPHRASE="DummyPasswordSoBorgFails"
fi
## export borg remote path, if specified
if [ -n "${borgRemote}" ]; then export BORG_REMOTE_PATH="${borgRemote}"; fi
## read additional files
if [ -n "${borgXtraListPath}" ]; then
# check if file actually exists