Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a6fd46

Browse files
committed
Force LANG=en on Windows, since system may fail to default to English.
1 parent98640c3 commit4a6fd46

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎src/test/regress/pg_regress.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.49 2004/10/31 19:14:16 tgl Exp $
2+
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.50 2004/11/17 18:06:04 tgl Exp $
33

44
me=`basename$0`
55
:${TMPDIR=/tmp}
@@ -50,6 +50,14 @@ message(){
5050

5151
unset LC_COLLATE LC_CTYPE LC_MONETARY LC_MESSAGES LC_NUMERIC LC_TIME LC_ALL LANG LANGUAGE
5252

53+
# On Windows the default locale may not be English, so force it
54+
case$host_platformin
55+
*-*-cygwin*|*-*-mingw32*)
56+
LANG=en
57+
export LANG
58+
;;
59+
esac
60+
5361

5462
# ----------
5563
# Check for echo -n vs echo \c

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp