summaryrefslogtreecommitdiff
path: root/mbld/clean.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/clean.myr')
-rw-r--r--mbld/clean.myr4
1 files changed, 1 insertions, 3 deletions
diff --git a/mbld/clean.myr b/mbld/clean.myr
index 5452ae5..69549fa 100644
--- a/mbld/clean.myr
+++ b/mbld/clean.myr
@@ -4,7 +4,6 @@ use "config.use"
use "deps.use"
use "opts.use"
use "parse.use"
-use "subdir.use"
use "types.use"
use "util.use"
@@ -70,7 +69,7 @@ const cleanup = {b, targ, leaves, islib
we want to automatically add 'clean' sources since otherwise,
mbld won't be able to clean code after changing a build file.
*/
- pushdir(b, targ.dir)
+ setdir(b, targ.dir)
if !myrdeps(b, targ, islib, true, true, &dg)
std.fatal(1, "Could not load dependencies for %s\n", targ.name)
;;
@@ -85,6 +84,5 @@ const cleanup = {b, targ, leaves, islib
std.put("\tclean %s\n", k)
;;
;;
- popdir(b)
}