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.
This commit is contained in:
Cosmin Truta 2024-02-17 18:26:27 +02:00
parent dddaf0c625
commit 6b5a2da072

View File

@ -61,7 +61,7 @@ function ci_lint_ci_scripts {
} }
ci_info "## LINTING: CI scripts ##" ci_info "## LINTING: CI scripts ##"
ci_spawn "$CI_SHELLCHECK" --version ci_spawn "$CI_SHELLCHECK" --version
find ./ci -name "*.sh" -perm +111 | { find ./ci -maxdepth 1 -name "*.sh" | {
local my_file local my_file
while IFS="" read -r my_file while IFS="" read -r my_file
do do