sort,shfmt

This commit is contained in:
Marc Beninca 2024-11-25 14:52:47 +01:00
parent 47f108f0a3
commit d517b783d7
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -11,13 +11,13 @@ SH_MAIN="${SH_ROOT}/main.sh"
sh_source_check() {
local file=".shellcheck.sh"
find \
"." \
-type "f" \
-name "*.sh" \
-not \
-name "${file}" \
-printf ". \"%P\"\n" \
>"${file}"
"." \
-type "f" \
-name "*.sh" \
-not \
-name "${file}" \
-printf ". \"%P\"\n" \
>"${file}"
shellcheck \
--check-sourced \
"${file}"
@ -36,7 +36,8 @@ sh_source_find() {
-not \
-name "${file}"
find "${@}" \
-printf "%P\n"
-printf "%P\n" |
sort
}
_sh_main_commands() {