From 6b5a2da07237d7fbe4a93d45c5b94c1e07ba8855 Mon Sep 17 00:00:00 2001 From: Cosmin Truta Date: Sat, 17 Feb 2024 18:26:27 +0200 Subject: [PATCH] Fix "ci: Fix the reporting in ci_lint.sh" This fixes commit dddaf0c625a8daea4d027cb57380b7fac6f58285. The way to reliably `find` executable files is different on BSD, Mac and Linux, unfortunately. --- ci/ci_lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/ci_lint.sh b/ci/ci_lint.sh index bce220214..d1754715d 100755 --- a/ci/ci_lint.sh +++ b/ci/ci_lint.sh @@ -61,7 +61,7 @@ function ci_lint_ci_scripts { } ci_info "## LINTING: CI scripts ##" ci_spawn "$CI_SHELLCHECK" --version - find ./ci -name "*.sh" -perm +111 | { + find ./ci -maxdepth 1 -name "*.sh" | { local my_file while IFS="" read -r my_file do