crossgcc: close stdin when search_tool() execute programs

Hardware / Coreboot - Alexander Couzens [fe80.eu] - 26 April 2015 08:39 UTC

bzip2 --version |grep -c will wait for input on stdin. ./buildgcc will hang because of this. Add `cat /dev/null |` close the stdin.

Change-Id: I2a8b08a4d90ca7a89705923d5b68ba6ac13f29b3

d268ab3 crossgcc: close stdin when search_tool() execute programs.
util/crossgcc/buildgcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share