ref: c04386762c224c031f679e94df910d699b5931a6
parent: 36d8051e6fb675aff71d37c9ab79e93239e1521f
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Jul 24 19:56:09 EDT 2017
Fix bootstrap generation. Grab mbld from the right place.
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -12,7 +12,7 @@
fi
./mbldwrap.sh
-cp mbld/mbld xmbld
+cp obj/mbld/mbld xmbld
./xmbld clean
# The generated shell script should be a compatible bourne
@@ -22,7 +22,7 @@
echo '# This script is generated by genbootstrap.sh' >> $bootscript
echo '# to regenerate, run "make bootstrap"' >> $bootscript
echo 'pwd=`pwd`' >> $bootscript
-./xmbld -Bnone mbld:mbld | \
+./xmbld -j1 -Bnone mbld:mbld | \
sed "s:^\\(.*\\)/[^/]*\.\.\.: cd \$pwd/\\1:g" | \
sed "s:`pwd`:\$pwd:g" | \
grep '^ ' | \
@@ -30,4 +30,4 @@
tee -a $bootscript
echo 'true' >> $bootscript
chmod +x $bootscript
-rm ./xmbld
+#rm ./xmbld