]> granicus.if.org Git - postgresql/commitdiff
Use $build_platform for PWD flag test, per suggestion from Peter.
authorBruce Momjian <bruce@momjian.us>
Sun, 2 May 2004 21:30:08 +0000 (21:30 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 2 May 2004 21:30:08 +0000 (21:30 +0000)
src/test/regress/pg_regress.sh

index 87a5666fed36cef4b8ed44c5fd3e49338313f3c8..0a3546b5f731a45f75f57978d1da52bd122b499b 100644 (file)
@@ -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=;;