diff options
author | Martin Roth <gaumless@gmail.com> | 2024-03-15 13:16:06 -0600 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-03-17 08:26:00 +0000 |
commit | bbf884ddbd76b38fdc9b5ec4163cfc0dadd872ce (patch) | |
tree | 646f0309770638f59a5a0ad8ab679b9ce7692406 | |
parent | a46dd5cd4bc595c1ccceb8558b445ada74058380 (diff) |
util/lint/lint: Fix shellcheck errors in getopt support for darwin
Posix shell doesn't support '=='
Change-Id: Icbdc4204f4c07d806e721fa39f96694c4df00e8d
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81285
Reviewed-by: Patrick Georgi <patrick@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rwxr-xr-x | util/lint/lint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint b/util/lint/lint index 1896db1c48..56edaa65c4 100755 --- a/util/lint/lint +++ b/util/lint/lint @@ -30,7 +30,7 @@ junit_write () { } # Look if we have getopt. If not, build it. -if [ $(uname) == Darwin ]; then +if [ "$(uname)" = "Darwin" ]; then GETOPT="getopt hIJ" else GETOPT="getopt -l help,junit,invert -o hIJ" |