summaryrefslogtreecommitdiff
path: root/mbld/main.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/main.myr')
-rw-r--r--mbld/main.myr3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 2cff45b..359da8c 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -10,6 +10,7 @@ use "opts.use"
use "parse.use"
use "test.use"
use "types.use"
+use "util.use"
const main = {args : byte[:][:]
var b : bld.build#
@@ -107,7 +108,7 @@ const mkbuild = {bldfile
if !findbase(b, bldfile) || !std.chdir(b.basedir)
std.fatal(1, "could not find %s\n", bldfile)
;;
- b.curdir = ""
+ bld.pushdir(b, "")
-> b
}