diff options
author | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-08-31 20:42:50 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-09-06 15:48:53 +0000 |
commit | fb2bf88a8477fb36474bf7158b91589516cf33c1 (patch) | |
tree | 997ad70e509e53252dbdb457240d5e8e27c8f0cc /util/vgabios | |
parent | 21ddf55a4324ae616cd294b411023d73c3511bc6 (diff) |
Makefile.inc: Fix build hang if file-size is run on empty string
Currently, if for some reason, the file-size command is called on an
empty string, the build will hang waiting for stdin input to cat.
Since wc accepts a file, this cat was unnecessary anyway. Put the file
name in quotes so an empty string will result in calling wc on an
actual null file instead of just leaving the filename blank. This
results in an error, and will probably halt the build.
BUG=214790407
TEST=Build default build.
Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Change-Id: I3dacf1968ed897a8ebd00f95583c2f254a7fb55a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67263
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/vgabios')
0 files changed, 0 insertions, 0 deletions