logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: a07485c34fabaad3b9b3ccc23b0dd38a075616d5
parent a009ceea853edccc7be42c3f6ce116003165abce
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  7 Jul 2023 21:31:44 +0200

test-cmd/shellcheck: Filter out lua comments

Diffstat:

Mtest-cmd/shellcheck2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-cmd/shellcheck b/test-cmd/shellcheck @@ -11,4 +11,4 @@ ${SHELLCHECK} "$0" cd "$(dirname "$0")" # shellcheck disable=SC2046 -${SHELLCHECK} --shell=sh -x $(grep atf_test_program ./Kyuafile | sed -E 's;^atf_test_program\{name="([^"]*)".*;./\1;') +${SHELLCHECK} --shell=sh -x $(grep -v -- '--' ./Kyuafile | grep atf_test_program | sed -E 's;^atf_test_program\{name="([^"]*)".*;./\1;')