[MLton-commit] r7463

Wesley Terpstra wesley at mlton.org
Tue May 18 03:57:46 PDT 2010


Format the date in English.
Otherwise you could get non-ascii from French locales, etc.


----------------------------------------------------------------------

U   mlton/trunk/mlton/Makefile

----------------------------------------------------------------------

Modified: mlton/trunk/mlton/Makefile
===================================================================
--- mlton/trunk/mlton/Makefile	2010-05-13 12:48:39 UTC (rev 7462)
+++ mlton/trunk/mlton/Makefile	2010-05-18 10:57:46 UTC (rev 7463)
@@ -68,7 +68,7 @@
 control/version.sml: control/version_sml.src
 	cat control/version_sml.src |						\
 		sed "s/MLTONVERSION/$${VERSION:-r`svnversion||echo unknown`}/" |\
-		sed "s/\(.*\)MLTONBUILDDATE\(.*\)/\1`date`\2/" |		\
+		sed "s/\(.*\)MLTONBUILDDATE\(.*\)/\1`LANG=C date`\2/" |		\
 		sed "s/\(.*\)MLTONBUILDNODE\(.*\)/\1`uname -n`\2/" >		\
 		control/version.sml
 




More information about the MLton-commit mailing list