summaryrefslogtreecommitdiff
path: root/genbootstrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-11-26 21:44:22 -0800
committerOri Bernstein <ori@eigenstate.org>2018-11-26 21:44:22 -0800
commit764129151551e13de123d391ad463c0dca9b31ee (patch)
tree59d3037ca1aa9c1164a9370a1f6ed9420a6183c1 /genbootstrap.sh
parent6605f374c8ae0500c1881051927cd4e72f11a553 (diff)
downloadmc-764129151551e13de123d391ad463c0dca9b31ee.tar.gz
Create our required directories.
Fixes some bootstraps.
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-xgenbootstrap.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/genbootstrap.sh b/genbootstrap.sh
index 7511fae..caa4e2a 100755
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -39,6 +39,28 @@ echo '#!/bin/sh' > $bootscript
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