summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-20 19:00:56 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-20 19:00:56 -0800
commiteba5edcf79813be921d8116ece30c10ca65c9fb3 (patch)
tree615953fa6b2d6176123780757a7d47edf2c8581b /mbld
parentaabaf05ccbb2cd6f4d93498ec522b96aa6045429 (diff)
downloadmc-eba5edcf79813be921d8116ece30c10ca65c9fb3.tar.gz
Use last '.' for extension.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/util.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbld/util.myr b/mbld/util.myr
index c9efa06..498d82d 100644
--- a/mbld/util.myr
+++ b/mbld/util.myr
@@ -53,7 +53,7 @@ const srcsplit = {src
platf = ""
suff = ""
- match std.strfind(src, ".")
+ match std.strrfind(src, ".")
| `std.Some i:
suff = src[i:]
src = src[:i]