summaryrefslogtreecommitdiff
path: root/genbootstrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-04-13 10:14:29 -0700
committerOri Bernstein <ori@eigenstate.org>2015-04-13 10:14:29 -0700
commit8dfd719bca59480d5b6cac19df58db6ebdddb5c1 (patch)
treed144dc66a02973740a0543bf7940748ca6633fa3 /genbootstrap.sh
parent7a1dfce1281c992e0163a4c71bea66152d827333 (diff)
downloadmc-8dfd719bca59480d5b6cac19df58db6ebdddb5c1.tar.gz
Fix genbootstrap.sh script.
Actually call sysselect.sh
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-xgenbootstrap.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/genbootstrap.sh b/genbootstrap.sh
index d6e64c5..73cae12 100755
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -2,15 +2,16 @@
export MYR_MUSE=../muse/muse
export MYR_MC=../6/6m
-
mbld clean
# The generated shell script should be a compatible bourne
# shell script.
+bootscript=bootstrap+`uname -s`-`uname -m`
echo '#!/bin/sh' > bootstrap.sh
echo 'pwd=`pwd`' >> bootstrap.sh
mbld | \
- sed "s:Entering directory '\\(.*\\)':\tcd \$pwd/\1:g" | \
+ sed "s:Entering directory '\\(.*\\)':\tcd \$pwd/\\1:g" | \
sed "s:Leaving directory.*:\tcd \$pwd:g" | \
+ sed "s:\\([a-zA-Z0-9_-]*\\)+.*:\`\$pwd/sysselect.sh \1\`:" | \
grep $'^\t' | \
sed 's/.*/echo &\n&/' | \
tee -a bootstrap.sh