tINSTALL: build mk all the time - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 06687f70ba7a5836c2e872648a85a724a5a1d486 (DIR) parent 9444b8e4bc847f8fd9d02466976b962288cedf31 (HTM) 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: M INSTALL | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- (DIR) diff --git a/INSTALL b/INSTALL t@@ -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