[MLton-commit] r4906

Vesa Karvonen vesak at mlton.org
Wed Dec 6 01:04:21 PST 2006


Removed explicit path to sed so that the command can be found under MSYS.

Changed sed pattern to use ANSI C escape sequences (Bash feature) so that
\r will work.

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

U   mlton/trunk/bin/regression

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

Modified: mlton/trunk/bin/regression
===================================================================
--- mlton/trunk/bin/regression	2006-12-05 12:26:27 UTC (rev 4905)
+++ mlton/trunk/bin/regression	2006-12-06 09:04:18 UTC (rev 4906)
@@ -215,7 +215,7 @@
                         fi
 			if $forMinGW; then
                                 compare="$f.sed.ok"
-                                /c/cygwin/bin/sed 's/$/\r/' <"$f.ok" >"$compare"
+                                sed $'s/$/\r/' <"$f.ok" >"$compare"
 			fi
                         if ! diff "$compare" "$tmp"; then
                                 echo "difference with ${flags[*]} ${extraFlags[*]}"




More information about the MLton-commit mailing list