From 58bca91f9c55506deae959066b599313d330caa3 Mon Sep 17 00:00:00 2001 From: NorseGaud Date: Wed, 2 Mar 2022 07:37:25 -0500 Subject: [PATCH] acme_extract is being scanned by shellcheck due to permissions differences --- test/linting/lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/linting/lint.sh b/test/linting/lint.sh index 71cb04eb..5fcb5365 100755 --- a/test/linting/lint.sh +++ b/test/linting/lint.sh @@ -105,7 +105,7 @@ function _shellcheck -not -path './target/docker-configomat/*' )" # macOS lacks parity for `-executable` but presently produces the same results: https://stackoverflow.com/a/4458361 - [[ "$(uname)" == "Darwin" ]] && FIND_EXEC="-perm +111 -type l -or" || FIND_EXEC="-executable" + [[ "$(uname)" == "Darwin" ]] && FIND_EXEC="-perm -711" || FIND_EXEC="-executable" # shellcheck disable=SC2248 F_BIN="$(find 'target/bin' ${FIND_EXEC} -type f)" F_BATS="$(find 'test' -maxdepth 1 -type f -iname '*.bats')"