Update make_mkid for mkid version 4.0.

This commit is contained in:
Bruce Momjian 2000-03-31 01:41:27 +00:00
parent 175dbf741b
commit be1d9fea15
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.45 2000/03/16 14:37:33 thomas Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.46 2000/03/31 01:41:26 momjian Exp $
#
if [ $# -eq 0 ]; then
echo "Syntax: $0 <hostname> [extra-tests]"
@ -10,7 +10,7 @@ hostname=$1
shift
extratests="$*"
if [ "x$hostname" = "xwin" -o "x$hostname" = "xi386-pc-qnx4" ]; then
if [ "x$hostname" = "xwin" -o "x$hostname" = "xi386-qnx-qnx4" ]; then
HOSTLOC="-h localhost"
else
HOSTLOC=""
@ -79,7 +79,7 @@ if [ $? -ne 0 ]; then
exit 1
fi
if [ "x$hostname" != "xi386-pc-qnx4" ]; then
if [ "x$hostname" != "xi386-qnx-qnx4" ]; then
echo "=============== installing languages... ================="
$ECHO_N "installing PL/pgSQL .. " $ECHO_C
createlang $HOSTLOC plpgsql regression
@ -94,7 +94,7 @@ fi
echo "=============== running regression queries... ================="
echo "" > regression.diffs
if [ "x$hostname" = "xi386-pc-qnx4" ]; then
if [ "x$hostname" = "xi386-qnx-qnx4" ]; then
DIFFOPT="-b"
else
DIFFOPT="-w"

View File

@ -1,6 +1,6 @@
#!/bin/sh
find `pwd`/ \( -name _deadcode -a -prune \) -o \
-type f -name '*.[chyl]' -print|sed 's;//;/;g' | mkid -S.gen=C -
-type f -name '*.[chyl]' -print|sed 's;//;/;g' | mkid
find . -name 'CVS' -prune -o -type d -print |while read DIR
do