summaryrefslogtreecommitdiff
path: root/genbootstrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-23 21:32:47 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-23 21:32:47 -0700
commit0b7964943f508c96854b2271b0970ce0b926b397 (patch)
tree4e710ac793b2c0625c3fd77b5e9e3cacfa6d215c /genbootstrap.sh
parent98972288339fd5d5f6466557e704f3737eab3c67 (diff)
downloadmc-0b7964943f508c96854b2271b0970ce0b926b397.tar.gz
Update Plan 9 bootstrap script.
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-xgenbootstrap.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/genbootstrap.sh b/genbootstrap.sh
index 95fe5d9..14092d8 100755
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -1,16 +1,15 @@
#!/bin/sh
-export PATH="`pwd`6:`pwd`/muse:$PATH"
+export PATH="`pwd`:`pwd`6:`pwd`/muse:$PATH"
if test `uname` = Plan9; then
- export MYR_MUSE=6.out
- export MYR_MC=6.out
- export MYR_RT=`pwd`/rt/_myrrt.$O
+ export MYR_MUSE=../muse/6.out
+ export MYR_MC=../6/6.out
+ export MYR_RT=`pwd`/rt/_myrrt.6
else
export MYR_MUSE=muse
export MYR_MC=6m
export MYR_RT=`pwd`/rt/_myrrt.o
fi
-
./mbldwrap.sh
cp mbld/mbld xmbld
./xmbld clean
@@ -20,7 +19,7 @@ cp mbld/mbld xmbld
bootscript=mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh
echo '#!/bin/sh' > $bootscript
echo 'pwd=`pwd`' >> $bootscript
-echo 'export PATH=`pwd`/6:`pwd`/muse:$PATH' >> $bootscript
+echo 'export PATH=`pwd`:`pwd`/6:`pwd`/muse:$PATH' >> $bootscript
./xmbld -Rnone | \
sed "s:Entering directory '\\(.*\\)': cd \$pwd/\\1:g" | \
sed "s:Leaving directory.*: cd \$pwd:g" | \