summaryrefslogtreecommitdiff
path: root/src/lib/archive.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/archive.source.sh')
-rw-r--r--src/lib/archive.source.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/archive.source.sh b/src/lib/archive.source.sh
index c27c65c..73d5a2e 100644
--- a/src/lib/archive.source.sh
+++ b/src/lib/archive.source.sh
@@ -12,6 +12,10 @@ tarball_name_plan() {
local base
base=$(basename "$INCOMING_DIR")
+ # TARBALL_SUFFIX is assigned by apply_config_defaults via the CONFIG_SPECS
+ # registry loop (printf -v "$name"), so shellcheck no longer sees a literal
+ # assignment and mistakes the uppercase name for a misspelling of a local.
+ # shellcheck disable=SC2153
printf '%s-<timestamp>%s\n' "$base" "$TARBALL_SUFFIX"
}