#! /bin/sh
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.5 2000/10/03 19:37:39 petere Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.6 2000/10/07 14:55:16 momjian Exp $
me=`basename $0`
: ${TMPDIR=/tmp}
# ----------
-# When on Windows or QNX, don't use Unix sockets.
+# When on Windows, QNX or BeOS, don't use Unix sockets.
# ----------
case $host_platform in
- *-*-cygwin* | *-*-qnx*)
+ *-*-cygwin* | *-*-qnx* | *beos*)
unix_sockets=no;;
*)
unix_sockets=yes;;
DIFFFLAGS=-w;;
esac
+# ----------
+# Set up the GMAKE variable correctly.
+# ----------
+
+case $host_platform in
+ *beos*)
+ GMAKE=make;;
+ *)
+ GMAKE=gmake;;
+esac
+
# ----------
# Set backend timezone and datestyle explicitly
message "creating temporary installation"
mkdir -p "$LOGDIR" || { (exit 2); exit; }
- ${MAKE:-gmake} -C "$top_builddir" DESTDIR="$temp_install" install >"$LOGDIR/install.log" 2>&1
+ ${MAKE:-$GMAKE} -C "$top_builddir" DESTDIR="$temp_install" install >"$LOGDIR/install.log" 2>&1
if [ $? -ne 0 ]
then
#!/bin/sh
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.54 2000/10/07 14:39:20 momjian Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.55 2000/10/07 14:55:16 momjian Exp $
#
if [ $# -eq 0 ]; then
echo "Syntax: $0 [extra-tests]"
extratests="$*"
case $hostname in
- i*86-pc-cygwin* | i386-*-qnx* | beos)
+ i*86-pc-cygwin* | i386-*-qnx* | *beos*)
HOSTLOC="-h localhost"
;;
*)