mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-04 19:16:58 -04: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
|
# 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 "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user