ref: 764129151551e13de123d391ad463c0dca9b31ee
parent: 6605f374c8ae0500c1881051927cd4e72f11a553
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Nov 26 16:44:22 EST 2018
Create our required directories. Fixes some bootstraps.
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -39,6 +39,28 @@
echo '# This script is generated by genbootstrap.sh' >> $bootscript
echo '# to regenerate, run "make bootstrap"' >> $bootscript
echo '#######################################'
+
+# we output into obj; things can fail if we don't create those dirs
+
+echo 'mkdir -p obj/lib/bio' >> $bootscript
+echo 'mkdir -p obj/lib/bld.sub' >> $bootscript
+echo 'mkdir -p obj/lib/crypto' >> $bootscript
+echo 'mkdir -p obj/lib/date' >> $bootscript
+echo 'mkdir -p obj/lib/escfmt' >> $bootscript
+echo 'mkdir -p obj/lib/fileutil' >> $bootscript
+echo 'mkdir -p obj/lib/flate' >> $bootscript
+echo 'mkdir -p obj/lib/http' >> $bootscript
+echo 'mkdir -p obj/lib/inifile' >> $bootscript
+echo 'mkdir -p obj/lib/iter' >> $bootscript
+echo 'mkdir -p obj/lib/json' >> $bootscript
+echo 'mkdir -p obj/lib/math' >> $bootscript
+echo 'mkdir -p obj/lib/regex' >> $bootscript
+echo 'mkdir -p obj/lib/std' >> $bootscript
+echo 'mkdir -p obj/lib/sys' >> $bootscript
+echo 'mkdir -p obj/lib/testr' >> $bootscript
+echo 'mkdir -p obj/lib/thread' >> $bootscript
+echo 'mkdir -p obj/mbld' >> $bootscript
+
echo 'pwd=`pwd`' >> $bootscript
echo 'set -x' >> $bootscript
# mbld needs to be run without an output dir so we dont
--- a/mk/bootstrap/bootstrap+Plan9-amd64.sh
+++ b/mk/bootstrap/bootstrap+Plan9-amd64.sh
@@ -1,6 +1,24 @@
#!/bin/sh
# This script is generated by genbootstrap.sh
# to regenerate, run "make bootstrap"
+mkdir -p obj/lib/bio
+mkdir -p obj/lib/bld.sub
+mkdir -p obj/lib/crypto
+mkdir -p obj/lib/date
+mkdir -p obj/lib/escfmt
+mkdir -p obj/lib/fileutil
+mkdir -p obj/lib/flate
+mkdir -p obj/lib/http
+mkdir -p obj/lib/inifile
+mkdir -p obj/lib/iter
+mkdir -p obj/lib/json
+mkdir -p obj/lib/math
+mkdir -p obj/lib/regex
+mkdir -p obj/lib/std
+mkdir -p obj/lib/sys
+mkdir -p obj/lib/testr
+mkdir -p obj/lib/thread
+mkdir -p obj/mbld
pwd=`pwd`
set -x
$pwd/6/6.out -O obj -I obj/lib/sys -I obj/lib/std -I obj/lib/bio -I obj/lib/regex -I obj/lib/thread mbld/config+plan9-x64.myr