shithub: mc

Download patch

ref: f7ff6155f5c57b8ece62dd8f1401c69e3bf3c6a4
parent: 563d4d25dd8386f6597a6ad636aa0886ab2032df
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Jul 25 20:43:38 EDT 2017

Try running obj/mbld/mbld

	That's what the new muse generates.

--- a/mbldwrap.sh
+++ b/mbldwrap.sh
@@ -15,5 +15,9 @@
 	BOOT="./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh"
 fi
 
-./obj/mbld/mbld $@ || ./mbld/mbld $@ || mbld $@ || \
-	(echo "Unable to run mbld $@; have you build successfully"; false)
+if [ -f mbld/mbld ] || [ -f obj/mbld/mbld ]; then
+    ./obj/mbld/mbld $@ || ./mbld/mbld $@ || mbld $@ || \
+        (echo "Unable to run mbld $@; have you build successfully"; false)
+else
+    mbld || $BOOT
+fi