diff options
author | EuAndreh <eu@euandre.org> | 2019-06-07 00:04:23 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-07 00:04:58 -0300 |
commit | 85f149288d04dd2eca7d476135f362b073d0b437 (patch) | |
tree | b5910b3b08b276893accc038448ec1be76d01acb /scripts/box/restore-backup.env.sh | |
parent | TODOs.org (diff) | |
download | server-85f149288d04dd2eca7d476135f362b073d0b437.tar.gz server-85f149288d04dd2eca7d476135f362b073d0b437.tar.xz |
Disable SC2034 for ${DOLLAR} interpolated variable
Diffstat (limited to 'scripts/box/restore-backup.env.sh')
-rwxr-xr-x | scripts/box/restore-backup.env.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/box/restore-backup.env.sh b/scripts/box/restore-backup.env.sh index 5eb575b..99b807c 100755 --- a/scripts/box/restore-backup.env.sh +++ b/scripts/box/restore-backup.env.sh @@ -12,6 +12,9 @@ export BORG_REMOTE_PATH="${BORG_REMOTE_PATH}" export BORG_PASSPHRASE="${BORG_PASSPHRASE}" pushd "$(mktemp -d)" || exit 1 + +# It is actually being used below using the DOLLAR interpolation +# shellcheck disable=SC2034 ARCHIVE="$(borg list "${BORG_REPO}" --last 1 --short)" echo "Extracting archive ${DOLLAR}{ARCHIVE}" |