summaryrefslogtreecommitdiff
path: root/testsuite/driver
diff options
context:
space:
mode:
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>2009-11-12 00:28:57 +0000
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>2009-11-12 00:28:57 +0000
commit36a7d3e7cd2dd68493bd9274f24441bf509d696c (patch)
tree9038c2e93f594197ff39d508e14c23eed869372d /testsuite/driver
parentb90ca732e70b065ad504280f6dbad704f35bcb35 (diff)
downloadhaskell-36a7d3e7cd2dd68493bd9274f24441bf509d696c.tar.gz
Fix setting of utf8 locale on Mac OS X
Diffstat (limited to 'testsuite/driver')
-rw-r--r--testsuite/driver/runtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index 1e833d59e7..602081a160 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -34,7 +34,7 @@ if v == '':
h.close()
if v != '':
# If it does then use the first utf8 locale that is available
- h = os.popen('locale -a | grep -i utf8 2>/dev/null', 'r')
+ h = os.popen('locale -a | grep -i "utf8\|utf-8" 2>/dev/null', 'r')
v = h.readline().strip()
h.close()
if v != '':