From 6a6b12317149b41b163513e345f43167778f113f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 1 Nov 2018 17:51:12 -0500 Subject: Discard harmless error messages. genbuild() is a bunch of echo statements, and with enough parallelism piping its output to "head" can close the pipe before all the echo statements have run, then they complain about writing to a closed pipe. (We're intentionally discarding the output, it's not an error, so...) --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/make.sh b/scripts/make.sh index ca48cd02..306a7cda 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -101,7 +101,7 @@ genbuildsh() echo '$BUILD $FILES $LINK' } -if ! cmp -s <(genbuildsh | head -n 6 ; echo LINK="'"$LDOPTIMIZE $LDFLAGS) \ +if ! cmp -s <(genbuildsh 2>/dev/null | head -n 6 ; echo LINK="'"$LDOPTIMIZE $LDFLAGS) \ <(head -n 7 generated/build.sh 2>/dev/null | sed '7s/ -o .*//') then echo -n "Library probe" -- cgit v1.2.3