xcompile: Use local variables and make cosmetic changes
Declaring function variables local improves bash scripts' robustness.
Cosmetic changes among other things include renaming variables from
plural to singular and vice versa as appropriate, and replacing spaces
Tested by confirming that sorted output generated by
util/xcompile/xcompile is the same before and after the change.
Signed-off-by: Vadim Bendebury <email@example.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <firstname.lastname@example.org>
1 file changed