all.sh: wrap main code into main() function

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2024-10-03 12:52:05 +02:00
parent e953a7adac
commit 731128ce50

View File

@ -959,10 +959,10 @@ run_component () {
} }
################################################################ ################################################################
#### Main (only function definitions above) #### Main
################################################################ ################################################################
main () {
# Preliminary setup # Preliminary setup
pre_set_shell_options pre_set_shell_options
pre_check_environment pre_check_environment
@ -999,3 +999,6 @@ done
# We're done. # We're done.
post_report post_report
}
main "$@"