summaryrefslogtreecommitdiff
path: root/mbld/install.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-28 23:11:39 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-28 23:11:39 -0800
commit07f5aa5bbf9445c1ff188a6f75a6fa162119cc35 (patch)
tree86d3ddf93bfa09cba7bafffbed6e7fa7ac863faa /mbld/install.myr
parent5f46919fc6a471d9a75bb25fae64aecefc9ec864 (diff)
downloadmc-07f5aa5bbf9445c1ff188a6f75a6fa162119cc35.tar.gz
Add the '-R' option to mbld.
You can now build and run directly as one step.
Diffstat (limited to 'mbld/install.myr')
-rw-r--r--mbld/install.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbld/install.myr b/mbld/install.myr
index 3238c36..e8c368e 100644
--- a/mbld/install.myr
+++ b/mbld/install.myr
@@ -57,7 +57,7 @@ const movefile = {b, rm, dir, file, prefix, perm
var path
setdir(b, dir)
- path = std.pathjoin([opt_destdir, opt_instroot, prefix, file][:])
+ path = std.pathjoin([opt_destdir, opt_instbase, prefix, file][:])
if rm
std.put("\trm {}\n", path)
if !std.remove(path)