From: Ian Kelling Date: Sat, 1 Feb 2025 06:31:42 +0000 (-0500) Subject: fix shellcheck X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=61b60f397ad499aa6470dee0abefb6d7f8b02df8;p=distro-setup fix shellcheck --- diff --git a/brc b/brc index e4983b3..4acc197 100644 --- a/brc +++ b/brc @@ -3006,7 +3006,7 @@ sk-p() { sk() { # see https://savannah.gnu.org/maintenance/fsf/bash-style-guide/ for justifications local quotes others ret - quotes=2048,2068,2086,2119,2206,2254,2231 + quotes=2048,2064,2068,2086,2119,2206,2254,2231 others=2029,2032,2033,2054,2164,2317 shellcheck -x -W 999 -e $quotes,$others "$@" || ret=$? if (( ret >= 1 )); then diff --git a/fsf-script-lib b/fsf-script-lib index 631ccfa..8f50a96 100644 --- a/fsf-script-lib +++ b/fsf-script-lib @@ -30,6 +30,7 @@ if [[ -s /usr/local/lib/bash-bear ]]; then . /usr/local/lib/bash-bear elif [[ -s /usr/local/lib/err ]]; then # old name + # shellcheck disable=SC1091 . /usr/local/lib/err elif [[ $- != *i* ]]; then # error if this is a script, not an interactive shell.