Set PWDFLAGS based on test platform, not target platform.
Andrew Dunstan
This commit is contained in:
parent
14a5330806
commit
e4a03f9e75
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.39 2004/05/02 04:27:37 momjian Exp $
|
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.40 2004/05/02 10:24:51 momjian Exp $
|
||||||
|
|
||||||
me=`basename $0`
|
me=`basename $0`
|
||||||
: ${TMPDIR=/tmp}
|
: ${TMPDIR=/tmp}
|
||||||
|
@ -211,8 +211,8 @@ esac
|
||||||
# Set up pwd to give a win32 happy pathname
|
# Set up pwd to give a win32 happy pathname
|
||||||
# ----------
|
# ----------
|
||||||
|
|
||||||
case $host_platform in
|
case `uname` in
|
||||||
*-*-mingw32*)
|
MINGW32*)
|
||||||
PWDFLAGS=-W;;
|
PWDFLAGS=-W;;
|
||||||
*)
|
*)
|
||||||
PWDFLAGS=;;
|
PWDFLAGS=;;
|
||||||
|
|
Loading…
Reference in New Issue