fix shellcheck
authorIan Kelling <ian@iankelling.org>
Sat, 1 Feb 2025 06:31:42 +0000 (01:31 -0500)
committerIan Kelling <ian@iankelling.org>
Sat, 1 Feb 2025 06:31:42 +0000 (01:31 -0500)
brc
fsf-script-lib

diff --git a/brc b/brc
index e4983b3df98a42c6443da6939879ba4583f300c1..4acc1979edbf24f4f803778fdfc98b044f45f3e2 100644 (file)
--- 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
index 631ccfaa6a326bc1d1a9db52e2ac6cd0cef051b9..8f50a96c177f740a22605688f25a7a4b9cce4851 100644 (file)
@@ -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.