summaryrefslogtreecommitdiff
path: root/mbld/install.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-01-11 11:24:31 -0800
committerOri Bernstein <ori@markovcorp.com>2017-01-11 11:24:31 -0800
commit14d657bd447f9384130ba321324052d94a420ca1 (patch)
tree359724b743ec2956630542eb040436a838023b3f /mbld/install.myr
parent8a92415ad8220c1f651b0ed6338efb072e848d5c (diff)
downloadmc-14d657bd447f9384130ba321324052d94a420ca1.tar.gz
Suppress prints when doing '-R'
Diffstat (limited to 'mbld/install.myr')
-rw-r--r--mbld/install.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbld/install.myr b/mbld/install.myr
index 2591c59..d7c7ae5 100644
--- a/mbld/install.myr
+++ b/mbld/install.myr
@@ -72,9 +72,9 @@ const movefile = {b, rm, dir, file, prefix, perm
setdir(b, dir)
path = std.pathjoin([opt_destdir, opt_instbase, prefix, file][:])
if rm
- std.put("\trm {}\n", path)
+ mbldput("\trm {}\n", path)
if !std.remove(path)
- std.put("\t\tno such file {}\n", file)
+ mbldput("\t\tno such file {}\n", file)
;;
else
std.remove(path)
@@ -82,9 +82,9 @@ const movefile = {b, rm, dir, file, prefix, perm
| `std.Err m: std.fatal("could not open {} for reading\n", file)
| `std.Ok buf:
if std.blat(path, buf, perm)
- std.put("\t{} => {}\n", file, path)
+ mbldput("\t{} => {}\n", file, path)
else
- std.put("could not write {}\n", file)
+ mbldput("could not write {}\n", file)
;;
;;
;;