summaryrefslogtreecommitdiff
path: root/genbootstrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-23 21:43:01 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-23 21:43:01 -0700
commit983521cc5a3fa36e53f4c5a3c459e2485cfe1966 (patch)
tree6169430f104eec37676383a7667bc63c1d8f6166 /genbootstrap.sh
parent0b7964943f508c96854b2271b0970ce0b926b397 (diff)
downloadmc-983521cc5a3fa36e53f4c5a3c459e2485cfe1966.tar.gz
Remove some stray local paths.
Diffstat (limited to 'genbootstrap.sh')
-rwxr-xr-xgenbootstrap.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/genbootstrap.sh b/genbootstrap.sh
index 14092d8..adb7768 100755
--- a/genbootstrap.sh
+++ b/genbootstrap.sh
@@ -1,14 +1,13 @@
#!/bin/sh
-export PATH="`pwd`:`pwd`6:`pwd`/muse:$PATH"
if test `uname` = Plan9; then
export MYR_MUSE=../muse/6.out
export MYR_MC=../6/6.out
- export MYR_RT=`pwd`/rt/_myrrt.6
+ export MYR_RT=../rt/_myrrt.6
else
- export MYR_MUSE=muse
- export MYR_MC=6m
- export MYR_RT=`pwd`/rt/_myrrt.o
+ export MYR_MUSE=../muse
+ export MYR_MC=../6m
+ export MYR_RT=../rt/_myrrt.o
fi
./mbldwrap.sh
cp mbld/mbld xmbld
@@ -24,6 +23,7 @@ echo 'export PATH=`pwd`:`pwd`/6:`pwd`/muse:$PATH' >> $bootscript
sed "s:Entering directory '\\(.*\\)': cd \$pwd/\\1:g" | \
sed "s:Leaving directory.*: cd \$pwd:g" | \
sed "s:\\([a-zA-Z0-9_-]*\\)+.*:\`\$pwd/sysselect.sh \1\`:" | \
+ sed "s:`pwd`:\`pwd\`:g" | \
grep '^ ' | \
sed 's/.*/echo &;&/' | \
tee -a $bootscript