diff options
author | Martin Roth <gaumless@gmail.com> | 2023-02-10 09:56:40 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-13 14:51:37 +0000 |
commit | fd8854ec0f51cf1107c8e001fc01da63ceff6110 (patch) | |
tree | 89ffc9e86860a0d4a96a2f13411b1e334f55a415 /LICENSES/BSD-4-Clause-UC.txt | |
parent | 72c38c9b1d3c7730ee51dbf4c75c954e72c0a177 (diff) |
Docs/Makefile: change 'which' to 'command -v'
The "which" command is not a posix command. Additionally, if a file
is not found, it outputs "command not found", so when checking to see
if the response is "", that doesn't work.
"command -v" is a posix compliant replacement that doesn't put out any
text if the command is not found, so is more suitable in this case
anyway.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I22207e818c847d50998f90c9abd55a3cb4bb2ab3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72922
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'LICENSES/BSD-4-Clause-UC.txt')
0 files changed, 0 insertions, 0 deletions