summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-12-09 11:05:52 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-10 22:02:19 -0500
commit6c98b9f011351d486a4a723b4ad86472edbb0290 (patch)
treedbe78a9c6e56396f34735bb8ee8346c3f9a92108
parent4773b4308203a7f9d50a26831ccf56d8afe3c5e5 (diff)
downloadhaskell-6c98b9f011351d486a4a723b4ad86472edbb0290.tar.gz
testsuite: Use explicit -e in sed command
Otherwise Darwin's sed interprets the command as the suffix for -i.
-rw-r--r--testsuite/tests/ghci/should_run/T15369.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/should_run/T15369.script b/testsuite/tests/ghci/should_run/T15369.script
index 5232c6aadc..2ebed015f4 100644
--- a/testsuite/tests/ghci/should_run/T15369.script
+++ b/testsuite/tests/ghci/should_run/T15369.script
@@ -8,6 +8,6 @@
:all-types
:l *T15369.hs
:all-types
-:! sed -i 's/Int/Double/g' T15369.hs
+:! sed -i -e 's/Int/Double/g' T15369.hs
:l *T15369.hs
:all-types