summaryrefslogtreecommitdiff
path: root/mbldwrap.sh
blob: 83de5bfba53176e9a3e206d7949811969f59c138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# this should be a bourne compatible shell script.
if test -f ./mbld/mbld; then
	./mbld/mbld $@
elif test `uname` = Plan9; then
	echo "PLAN 9 BOOTSTRAP"
	export MYR_MUSE=../muse/$O.out
	export MYR_MC=../$O/$O.out
	export MYR_RT=../rt/_myrrt.$O
	./bootstrap9.rc
else
	echo "POSIX BOOTSTRAP"
	export MYR_MUSE=../muse/muse
	export MYR_MC=../6/6m
	export MYR_RT=../rt/_myrrt.o
	./bootstrap.sh
fi