From 29ff2fdd432e5438be46cc7867abcfe067a255d2 Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Wed, 15 Apr 2026 02:31:48 +0200 Subject: [PATCH] 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 --- build_tools/check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_tools/check.sh b/build_tools/check.sh index 61decae38..e57bf2a41 100755 --- a/build_tools/check.sh +++ b/build_tools/check.sh @@ -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"