Commit 0635d22f authored by rrt's avatar rrt
Browse files

[project @ 2001-10-01 13:13:38 by rrt]

Get rid of \rs at the end of lines in prescripts and postscripts to
work around Windows dodginess.
parent 52788cf5
......@@ -174,6 +174,7 @@ if ( $SysSpecificTiming =~ /^ghc/ ) {
if ($PreScript ne '') {
local($to_do);
$PreScriptLines = `cat $PreScript`;
$PreScriptLines =~ s/\r//g;
} else {
$PreScriptLines = '';
}
......@@ -181,6 +182,7 @@ if ($PreScript ne '') {
if ($PostScript ne '') {
local($to_do);
$PostScriptLines = `cat $PostScript`;
$PostScriptLines =~ s/\r//g;
$* = 1;
$PostScriptLines =~ s#\$o1#$TmpPrefix/runtest$$.1#g;
$PostScriptLines =~ s#\$o2#$TmpPrefix/runtest$$.2#g;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment