summaryrefslogtreecommitdiff
path: root/mbldwrap.sh
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-03 10:57:20 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-03 10:58:02 -0700
commit9d653c1ec47061e3985be018dfe29ad93a657ec1 (patch)
tree089aa4d592011ab7346c0fbd47a09a90ba6af27e /mbldwrap.sh
parent45907dfb026557ab65bcff529384dbfb212e2347 (diff)
downloadmc-9d653c1ec47061e3985be018dfe29ad93a657ec1.tar.gz
Run gen/cmd commands in the right subdir.
Diffstat (limited to 'mbldwrap.sh')
-rwxr-xr-xmbldwrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbldwrap.sh b/mbldwrap.sh
index 478228a..8a75691 100755
--- a/mbldwrap.sh
+++ b/mbldwrap.sh
@@ -5,8 +5,8 @@ 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 $@
+if test -f ./mbld/mbld; then
+ ./mbld/mbld $@
else
./bootstrap.sh
fi