summaryrefslogtreecommitdiff
path: root/genbootstrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-03-01 22:25:23 -0800
committerOri Bernstein <ori@eigenstate.org>2016-03-01 22:25:23 -0800
commit3219b2144ac188b045de6d681435322ddf4da191 (patch)
tree17038805b83114a1927d9f23f0d717a8585083df /genbootstrap.sh
parentf7fa0ae80c6878345d14306f4b77ee4359f256f4 (diff)
downloadmc-3219b2144ac188b045de6d681435322ddf4da191.tar.gz
Generate early-exiting bootstrap, regen freebsd.
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-xgenbootstrap.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/genbootstrap.sh b/genbootstrap.sh
index b07aefe..a610e8e 100755
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -26,7 +26,8 @@ echo 'pwd=`pwd`' >> $bootscript
sed "s:^\\(.*\\)/[^/]*\.\.\.: cd \$pwd/\\1:g" | \
sed "s:`pwd`:\$pwd:g" | \
grep '^ ' | \
- sed 's/.*/echo &;&/' | \
+ sed 's/.*/echo & \&\& & \&\&\\/' | \
tee -a $bootscript
+echo 'true' >> $bootscript
chmod +x $bootscript
rm ./xmbld