aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-05-17 20:09:43 -0400
committerRuss Cox <rsc@swtch.com>2020-05-17 20:15:41 -0400
commit06687f70ba7a5836c2e872648a85a724a5a1d486 (patch)
treec349122bbcf780a8f492fe8c18a36d90194f6a78
parent9444b8e4bc847f8fd9d02466976b962288cedf31 (diff)
downloadplan9port-06687f70ba7a5836c2e872648a85a724a5a1d486.tar.gz
plan9port-06687f70ba7a5836c2e872648a85a724a5a1d486.tar.bz2
plan9port-06687f70ba7a5836c2e872648a85a724a5a1d486.zip
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.
-rwxr-xr-xINSTALL7
1 files changed, 3 insertions, 4 deletions
diff --git a/INSTALL b/INSTALL
index 11d35005..49a4d9a4 100755
--- 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