lint: disable warning about variable export

Here, we want `"$@"` to be expanded, since its components are the
arguments we want to pass to `export`.

Part of #12636
This commit is contained in:
Daniel Rainer
2026-04-15 02:31:48 +02:00
committed by Johannes Altmanninger
parent 732c04420b
commit 29ff2fdd43

View File

@@ -125,6 +125,7 @@ fi
# Using "()" not "{}" because we do want a subshell (for the export)
system_tests() (
# shellcheck disable=2163
[ -n "$*" ] && export "$@"
# shellcheck disable=2031
export FISH_GETTEXT_EXTRACTION_DIR="$gettext_template_dir"