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

# this should be a bourne compatible shell script.
if 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
	BOOT="./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh"
else
	echo "POSIX BOOTSTRAP"
	export MYR_MUSE=../muse/muse
	export MYR_MC=../6/6m
	export MYR_RT=../rt/_myrrt.o
	BOOT="./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh"
fi
mbld $@ || ./mbld/mbld $@ || $BOOT