summaryrefslogtreecommitdiff
path: root/util/chromeos
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2024-05-07 08:40:41 -0500
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-05-08 20:30:12 +0000
commit5470ae77fda282ce19d4b603cf1735ba2ec3a524 (patch)
treea37e1f078f2e5346834cd5d9a928b39ff5eeceaa /util/chromeos
parente25c6ac11d27e6fa9064fbaf57c833ab61371f9e (diff)
util/chromeos/crosfirmware: ensure $BOARD is lowercase
If $BOARD is not all lowercase, then certain subfunctions of the script will fail due to case-sensitive comparisons therein. To avoid this, since all matched strings are fully lowercase, set $BOARD to lowercase. TEST: './crosfirmware.sh {akemi/Akemi/AKEMI}' all succeed. Change-Id: I8ecb613a8d9384e2cccaff5183470e2e9956d0a2 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82232 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'util/chromeos')
-rwxr-xr-xutil/chromeos/crosfirmware.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/chromeos/crosfirmware.sh b/util/chromeos/crosfirmware.sh
index 3d0f0612f8..e72ff7d395 100755
--- a/util/chromeos/crosfirmware.sh
+++ b/util/chromeos/crosfirmware.sh
@@ -137,7 +137,7 @@ do_one_board() {
# Main
#
-BOARD=$1
+BOARD=${1,,}
exit_if_dependencies_are_missing