summaryrefslogtreecommitdiff
path: root/glafp-utils
diff options
context:
space:
mode:
Diffstat (limited to 'glafp-utils')
-rw-r--r--glafp-utils/runstdtest/runstdtest.prl2
1 files changed, 2 insertions, 0 deletions
diff --git a/glafp-utils/runstdtest/runstdtest.prl b/glafp-utils/runstdtest/runstdtest.prl
index f53de4f90c..1d62fc9330 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;