From 0635d22ff557b797b6b07276c0785d13c821fee2 Mon Sep 17 00:00:00 2001 From: rrt Date: Mon, 1 Oct 2001 13:13:38 +0000 Subject: [PATCH] [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. --- glafp-utils/runstdtest/runstdtest.prl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glafp-utils/runstdtest/runstdtest.prl b/glafp-utils/runstdtest/runstdtest.prl index f53de4f..1d62fc9 100644 --- a/glafp-utils/runstdtest/runstdtest.prl +++ b/glafp-utils/runstdtest/runstdtest.prl @@ -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; -- 1.7.10.4