summaryrefslogtreecommitdiff
path: root/genbootstrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-24 23:56:09 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-25 22:23:11 -0700
commitc04386762c224c031f679e94df910d699b5931a6 (patch)
treeab5a88a57d199645230601d9e64e36e8cdba65aa /genbootstrap.sh
parent36d8051e6fb675aff71d37c9ab79e93239e1521f (diff)
downloadmc-c04386762c224c031f679e94df910d699b5931a6.tar.gz
Fix bootstrap generation.
Grab mbld from the right place.
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-xgenbootstrap.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/genbootstrap.sh b/genbootstrap.sh
index a610e8e..7ce0fbf 100755
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -12,7 +12,7 @@ else
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 '#!/bin/sh' > $bootscript
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 @@ echo 'pwd=`pwd`' >> $bootscript
tee -a $bootscript
echo 'true' >> $bootscript
chmod +x $bootscript
-rm ./xmbld
+#rm ./xmbld