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.
This commit is contained in:
Russ Cox 2020-05-17 20:09:43 -04:00
parent 9444b8e4bc
commit 06687f70ba

View file

@ -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