From 29a5eeea82e79610126cbabe8283488e8ebdc555 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 10 Jan 2025 09:46:33 -0500 Subject: [PATCH] shellcheck --- usr/bin/dist-installer-cli | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/bin/dist-installer-cli b/usr/bin/dist-installer-cli index 311d0c2..11d161f 100755 --- a/usr/bin/dist-installer-cli +++ b/usr/bin/dist-installer-cli @@ -3604,7 +3604,8 @@ parse_opt() { #[ -z "${1:-}" ] && usage 2 while true; do begin_optparse "${1:-}" "${2:-}" || break - # shellcheck disable=SC2034 + ## SC2154: Variable ${opt} gets set in file: /usr/libexec/helper-scripts/parse_opt.sh + # shellcheck disable=SC2034,SC2154 case "${opt}" in P|directory-prefix) get_arg