diff options
author | Martin Roth <gaumless@gmail.com> | 2022-11-27 18:38:13 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-05 14:41:52 +0000 |
commit | 5161b2ffa76a5cb06a6c646cc12bc575fcdfe306 (patch) | |
tree | cf0ef9213e1c9b908046d0ba6f37850cca8eb58f /src/soc | |
parent | 8a79a89ec48ba171e8550b2ba2db60a3a2b65e8c (diff) |
util/genbuild: Fix style & shellcheck issues
There shouldn't be any change to functionality here - this should be
strictly cleanup.
- STYLE: Put variables inside braces.
- SHELLCHECK: Instead of 'var= ' to clear a variable, use 'var=""'
- SHELLCHECK: Put commands and command variables inside quotes.
- SHELLCHECK: Don't use variables inside the printf commands.
- OTHER: COREBOOT_BUILD needed a date format when the variables in the
our_date() function were put into quotes. This format matches the
output of 'LANG="" LC_ALL=C TZ=UTC0 date'
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I3303caee5c7a53c9df579e6f48d2c3d075a8c278
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70056
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Diffstat (limited to 'src/soc')
0 files changed, 0 insertions, 0 deletions