plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 06687f70ba7a5836c2e872648a85a724a5a1d486
parent 9444b8e4bc847f8fd9d02466976b962288cedf31
Author: Russ Cox <rsc@swtch.com>
Date:   Sun, 17 May 2020 20:09:43 -0400

INSTALL: build mk all the time

If mk gets into a bad state, it's not obvious that you can
remove the binary to force the rebuild. Also, not rebuilding
means that bugs in mkmk.sh are not noticed.
Just rebuild from scratch every time. It doesn't take too long
compared to the rest of INSTALL.

Diffstat:
MINSTALL | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/INSTALL b/INSTALL @@ -143,10 +143,9 @@ echo "* Compiler version:" cd src if $dobuild; then - if [ ! -x ../bin/mk ]; then - echo "* Building mk..." - ../dist/buildmk 2>&1 | sed 's/^[+] //' - fi + echo "* Building mk..." + ../dist/buildmk 2>&1 | sed 's/^[+] //' + if [ ! -x ../bin/mk ]; then echo "* Error: mk failed to build." exit 1