mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
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:
parent
e953a7adac
commit
731128ce50
@ -959,10 +959,10 @@ run_component () {
|
||||
}
|
||||
|
||||
################################################################
|
||||
#### Main (only function definitions above)
|
||||
#### Main
|
||||
################################################################
|
||||
|
||||
|
||||
main () {
|
||||
# Preliminary setup
|
||||
pre_set_shell_options
|
||||
pre_check_environment
|
||||
@ -999,3 +999,6 @@ done
|
||||
|
||||
# We're done.
|
||||
post_report
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user