From a6311431b58f91b5fe31e97bc7efad63d01b6ccb Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Wed, 14 Apr 1999 14:02:00 +0000
Subject: [PATCH] use config.guess instead of uname -s to figure out system, so
 that we can include platform spcific changes ...

thanks to Mark Hollomon <mhh@nortelnetworks.com> for the awk script used
---
 src/test/regress/regress.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/regress/regress.sh b/src/test/regress/regress.sh
index f09680b7f6f..484c96f94f2 100755
--- a/src/test/regress/regress.sh
+++ b/src/test/regress/regress.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.23 1999/01/23 21:36:00 tgl Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.24 1999/04/14 14:02:00 scrappy Exp $
 #
 if [ $# -eq 0 ]
 then
@@ -33,7 +33,7 @@ PGDATESTYLE="Postgres,US"; export PGDATESTYLE
 #FRONTEND=monitor
 FRONTEND="psql $HOST -n -e -q"
 
-SYSTEM=`uname -s`
+SYSTEM=`../../config.guess awk -F\- '{ split($3,a,/[0-9]/); printf"%s-%s", $1, a[1] }'`
 
 echo "=============== Notes...                              ================="
 echo "postmaster must already be running for the regression tests to succeed."
-- 
GitLab