From: Bruce Momjian Date: Sun, 2 May 2004 21:30:08 +0000 (+0000) Subject: Use $build_platform for PWD flag test, per suggestion from Peter. X-Git-Tag: REL8_0_0BETA1~704 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0142c00180943877e740a0f75e2d134e4d09c0a4;p=postgresql Use $build_platform for PWD flag test, per suggestion from Peter. --- diff --git a/src/test/regress/pg_regress.sh b/src/test/regress/pg_regress.sh index 87a5666fed..0a3546b5f7 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.40 2004/05/02 10:24:51 momjian Exp $ +# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.41 2004/05/02 21:30:08 momjian Exp $ me=`basename $0` : ${TMPDIR=/tmp} @@ -211,8 +211,8 @@ esac # Set up pwd to give a win32 happy pathname # ---------- -case `uname` in - MINGW32*) +case $build_platform in + *-*-mingw32*) PWDFLAGS=-W;; *) PWDFLAGS=;;