summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-29 13:49:09 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-29 13:49:09 -0800
commit1644f38d35a004689b4e1d66e6c1e4320a294c01 (patch)
treecfb702ac5905a29dbbaba2f09930d83979c913ec /mbld
parent516fa1fdca8b62c85deeaf2e3d0b3f826afc8dba (diff)
downloadmc-1644f38d35a004689b4e1d66e6c1e4320a294c01.tar.gz
Sljoin expects an alloced slice as its first arg.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/main.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 59f8975..e0a9507 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -153,7 +153,7 @@ const buildimm = {b, targ, inputs, bintarg, cleanfirst -> bool
}
const runcmd = {bin, args
- -> bld.run(std.sljoin([bin][:], args))
+ -> bld.run(std.sljoin(std.sldup([bin][:]), args))
}
const mkbuild = {tags