summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/tests/ghci/should_run/T15369.script4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/should_run/T15369.script b/testsuite/tests/ghci/should_run/T15369.script
index 2ebed015f4..f6f66e060b 100644
--- a/testsuite/tests/ghci/should_run/T15369.script
+++ b/testsuite/tests/ghci/should_run/T15369.script
@@ -8,6 +8,8 @@
:all-types
:l *T15369.hs
:all-types
-:! sed -i -e 's/Int/Double/g' T15369.hs
+-- Note: BSD sed doesn't allow use of -i here due to symlinks
+:! sed -e 's/Int/Double/g' T15369.hs > Temp.hs
+:! mv Temp.hs T15369.hs
:l *T15369.hs
:all-types