From fdc07ebbcdf4480a33ae96eb3efb09ab0b4d7b96 Mon Sep 17 00:00:00 2001 From: tschettervictor Date: Sun, 7 Dec 2025 18:57:15 -0700 Subject: [PATCH] fix shellcheck --- usr/local/share/bastille/template.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/local/share/bastille/template.sh b/usr/local/share/bastille/template.sh index 4e2cd20e..fe3198c5 100644 --- a/usr/local/share/bastille/template.sh +++ b/usr/local/share/bastille/template.sh @@ -365,6 +365,7 @@ for jail in ${JAILS}; do # Escape single-quotes in the command being executed. -- cwells args=$(echo "${args}" | sed "s/'/'\\\\''/g") # Allow redirection within the jail. -- cwells + # shellcheck disable=SC2089 args="sh -c '${args}'" ;; cp|copy) @@ -386,6 +387,7 @@ for jail in ${JAILS}; do args="install -y ${args}" ;; tag|tags) + # shellcheck disable=SC2090 cmd='tags' args="add $(echo ${args} | tr ' ' ,)" ;;