summaryrefslogtreecommitdiff
path: root/mbldwrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-23 22:41:44 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-23 22:41:44 -0700
commit04d647955b3d83e2fb3731d63887ae499809141e (patch)
tree0857db2d96d70131d9dea0b2532e51a2507e8a3e /mbldwrap.sh
parent737f88e311ea62fbe476d59a2e4ea5bbe7889650 (diff)
downloadmc-04d647955b3d83e2fb3731d63887ae499809141e.tar.gz
Fix up and regenerate bootstrap scripts.
Munge the path var instead of adding relative paths
Diffstat (limited to 'mbldwrap.sh')
-rwxr-xr-xmbldwrap.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/mbldwrap.sh b/mbldwrap.sh
index 620fb70..668ef50 100755
--- a/mbldwrap.sh
+++ b/mbldwrap.sh
@@ -1,15 +1,16 @@
#!/bin/sh
+export PATH=`pwd`/6:`pwd`/muse:$PATH
# this should be a bourne compatible shell script.
if test `uname` = Plan9; then
- export MYR_MUSE=../muse/$O.out
- export MYR_MC=../$O/$O.out
- export MYR_RT=../rt/_myrrt.$O
+ export MYR_MUSE=$O.out
+ export MYR_MC=$O.out
+ export MYR_RT=`pwd`/rt/_myrrt.$O
BOOT="./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh"
else
- export MYR_MUSE=../muse/muse
- export MYR_MC=../6/6m
- export MYR_RT=../rt/_myrrt.o
+ export MYR_MUSE=muse
+ export MYR_MC=6m
+ export MYR_RT=`pwd`/rt/_myrrt.o
BOOT="./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh"
fi