summaryrefslogtreecommitdiff
path: root/mbld/clean.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-12 12:30:21 -0400
committerOri Bernstein <ori@eigenstate.org>2015-06-12 12:30:21 -0400
commit1eca6494d70ec51a950891697093525be826cef5 (patch)
treefce570a4214ba3ecee5bc04ff7be6c92ebd2ce89 /mbld/clean.myr
parent99517584674b6040c9c72393d160b9b60d6f3321 (diff)
downloadmc-1eca6494d70ec51a950891697093525be826cef5.tar.gz
Move movement to f2fmt and friends.
Diffstat (limited to 'mbld/clean.myr')
-rw-r--r--mbld/clean.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbld/clean.myr b/mbld/clean.myr
index abe8956..6f4fb2f 100644
--- a/mbld/clean.myr
+++ b/mbld/clean.myr
@@ -24,7 +24,7 @@ const cleanall = {b
| `Gen gt:
for f in gt.out
if !gt.durable && std.remove(f)
- std.put("\tclean %s\n", f)
+ std.f2put("\tclean {}\n", f)
;;
;;
| `Cmd ct: /* nothing to do */
@@ -52,7 +52,7 @@ const clean = {b, targ
| `Gen gt:
for f in gt.out
if !gt.durable && std.remove(f)
- std.put("\tclean %s\n", f)
+ std.f2put("\tclean {}\n", f)
;;
;;
| `Cmd ct:
@@ -80,7 +80,7 @@ const cleanup = {b, targ, leaves
keys = std.htkeys(dg.deps)
for k in keys
if !std.htgetv(mchammer_files, k, false) && std.remove(k)
- std.put("\tclean %s\n", k)
+ std.f2put("\tclean {}\n", k)
;;
;;
}