From 05ca95e759fe6c1a7e367d471613750c18a5a78c Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 23 May 2020 19:35:36 -0400 Subject: [PATCH] emul: make updatebootstrap two-stepped Writing directly to forth.bin seems to cause problems in some environments such as Travis CI. --- emul/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emul/Makefile b/emul/Makefile index 47b6c8d..c196626 100644 --- a/emul/Makefile +++ b/emul/Makefile @@ -31,7 +31,8 @@ emul.o: emul.c .PHONY: updatebootstrap updatebootstrap: stage xcomp.fs pack - ./stage < xcomp.fs | tee forth.bin > /dev/null + ./stage < xcomp.fs > new.bin + mv new.bin forth.bin .PHONY: pack pack: