diff options
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}" |