Skip to content

Commit 7334831

Browse files
committed
Enabled regression driver to run without PGLIB set.
1 parent 46ba3f8 commit 7334831

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/regress/run_check.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.9 2000/02/19 22:13:36 tgl Exp $
3+
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.10 2000/02/24 23:37:30 petere Exp $
44

55
# ----------
66
# Check call syntax
@@ -173,7 +173,7 @@ export PATH
173173
# Run initdb to initialize a database system in ./tmp_check
174174
# ----------
175175
echo "=============== Initializing check database instance ================"
176-
initdb --pglib=$LIBDIR --pgdata=$PGDATA >$LOGDIR/initdb.log 2>&1
176+
initdb -L $LIBDIR -D $PGDATA >$LOGDIR/initdb.log 2>&1
177177

178178
if [ $? -ne 0 ]
179179
then
@@ -239,7 +239,7 @@ fi
239239
# Install the PL/pgSQL language in it
240240
# ----------
241241
echo "=============== Installing PL/pgSQL... ================"
242-
createlang $HOSTLOC plpgsql regression
242+
createlang -L $LIBDIR $HOSTLOC plpgsql regression
243243
if [ $? -ne 0 -a $? -ne 2 ]; then
244244
echo createlang failed
245245
kill -15 $PMPID

0 commit comments

Comments
 (0)