shithub: mc

Download patch

ref: eba5edcf79813be921d8116ece30c10ca65c9fb3
parent: aabaf05ccbb2cd6f4d93498ec522b96aa6045429
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Feb 20 14:00:56 EST 2016

Use last '.' for extension.

--- a/mbld/util.myr
+++ b/mbld/util.myr
@@ -53,7 +53,7 @@
 
 	platf = ""
 	suff = ""
-	match std.strfind(src, ".")
+	match std.strrfind(src, ".")
 	| `std.Some i:
 		suff = src[i:]
 		src = src[:i]