summaryrefslogtreecommitdiff
path: root/genbootstrap.sh
diff options
context:
space:
mode:
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