aboutsummaryrefslogtreecommitdiff
path: root/scripts/box/restore-backup.env.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-07 00:04:23 -0300
committerEuAndreh <eu@euandre.org>2019-06-07 00:04:58 -0300
commit85f149288d04dd2eca7d476135f362b073d0b437 (patch)
treeb5910b3b08b276893accc038448ec1be76d01acb /scripts/box/restore-backup.env.sh
parentTODOs.org (diff)
downloadserver-85f149288d04dd2eca7d476135f362b073d0b437.tar.gz
server-85f149288d04dd2eca7d476135f362b073d0b437.tar.xz
Disable SC2034 for ${DOLLAR} interpolated variable
Diffstat (limited to 'scripts/box/restore-backup.env.sh')
-rwxr-xr-xscripts/box/restore-backup.env.sh3
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}"