diff options
author | Ori Bernstein <ori@eigenstate.org> | 2015-05-14 23:29:49 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2015-05-14 23:55:23 -0700 |
commit | e686640da8441d0cae0e45d5d6ef9f96c45a8e24 (patch) | |
tree | af0eafa29732bc148fd764211e32680e7149ec94 /mbldwrap.sh | |
parent | 160d2c2b424adfbd456f61cb5e194888a054ff51 (diff) | |
download | mc-e686640da8441d0cae0e45d5d6ef9f96c45a8e24.tar.gz |
Fix plan9 build.
Diffstat (limited to 'mbldwrap.sh')
-rwxr-xr-x | mbldwrap.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/mbldwrap.sh b/mbldwrap.sh index 8a75691..83de5bf 100755 --- a/mbldwrap.sh +++ b/mbldwrap.sh @@ -1,12 +1,18 @@ #!/bin/sh -export MYR_MUSE=../muse/muse -export MYR_MC=../6/6m -export MYR_RT=../rt/_myrrt.o - # 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 |