emul: make updatebootstrap two-stepped

Writing directly to forth.bin seems to cause problems in some
environments such as Travis CI.
This commit is contained in:
Virgil Dupras 2020-05-23 19:35:36 -04:00
parent c0b7b45570
commit 05ca95e759

View File

@ -31,7 +31,8 @@ emul.o: emul.c
.PHONY: updatebootstrap .PHONY: updatebootstrap
updatebootstrap: stage xcomp.fs pack 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 .PHONY: pack
pack: pack: