From e4a03f9e75873394d3fcddd58c9a568829a76a03 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 2 May 2004 10:24:51 +0000 Subject: [PATCH] Set PWDFLAGS based on test platform, not target platform. Andrew Dunstan --- src/test/regress/pg_regress.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/regress/pg_regress.sh b/src/test/regress/pg_regress.sh index 542aa0cc3b..87a5666fed 100644 --- a/src/test/regress/pg_regress.sh +++ b/src/test/regress/pg_regress.sh @@ -1,5 +1,5 @@ #! /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` : ${TMPDIR=/tmp} @@ -211,8 +211,8 @@ esac # Set up pwd to give a win32 happy pathname # ---------- -case $host_platform in - *-*-mingw32*) +case `uname` in + MINGW32*) PWDFLAGS=-W;; *) PWDFLAGS=;; -- 2.40.0