diff options
author | Ori Bernstein <ori@eigenstate.org> | 2017-08-23 20:38:16 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2017-08-23 20:39:06 -0700 |
commit | 7f4fa088626c24ac74cdfccab82a3d588ef34be6 (patch) | |
tree | 7e8d55129698d9bf1846ca6509d34d7f788a59ac /genbootstrap.sh | |
parent | 5711ab3b30b229b651424f7978bc39f0b044e193 (diff) | |
download | mc-7f4fa088626c24ac74cdfccab82a3d588ef34be6.tar.gz |
Simplfiy genbootstrap.sh
We don't need that mess any more.
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-x | genbootstrap.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/genbootstrap.sh b/genbootstrap.sh index 92cbc81..2a275e2 100755 --- a/genbootstrap.sh +++ b/genbootstrap.sh @@ -22,13 +22,15 @@ bootscript=mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh echo '#!/bin/sh' > $bootscript echo '# This script is generated by genbootstrap.sh' >> $bootscript echo '# to regenerate, run "make bootstrap"' >> $bootscript +echo '#######################################' echo 'pwd=`pwd`' >> $bootscript +echo 'set -x' >> $bootscript +# mbld needs to be run without an output dir so we dont +# run into mkdir issues. ./xmbld -o '' -j1 -Bnone mbld:mbld | \ - sed "s:^\\(.*\\)/[^/]*\.\.\.: cd \$pwd/\\1:g" | \ - sed "s:`pwd`:\$pwd:g" | \ grep '^ ' | \ - sed 's/.*/echo & \&\& & \&\&\\/' | \ + sed "s:`pwd`:\$pwd:g" | \ tee -a $bootscript echo 'true' >> $bootscript chmod +x $bootscript -#rm ./xmbld +rm ./xmbld |