mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-04 17:30:10 +00:00
all.sh: clean up some uses of "local" variables
While pure sh doesn't have a concept of local variables, we can partially emulate them by unsetting variables before we exit the function, and use the convention of giving them lowercase names to distinguish from global variables. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
4f265fbff7
commit
c09bb4c3ab
|
@ -1424,7 +1424,7 @@ run_component () {
|
|||
|
||||
# Restore the build tree to a clean state.
|
||||
cleanup
|
||||
current_component=""
|
||||
unset current_component
|
||||
}
|
||||
|
||||
# Preliminary setup
|
||||
|
|
Loading…
Reference in a new issue