Enabled regression driver to run without PGLIB set.
authorPeter Eisentraut
Thu, 24 Feb 2000 23:37:30 +0000 (23:37 +0000)
committerPeter Eisentraut
Thu, 24 Feb 2000 23:37:30 +0000 (23:37 +0000)
src/test/regress/run_check.sh

index 57a5d063e06cb24ef5647d2ca4d1fdc22c5019ac..3e4e1baae1c09875050f58b4bc794ec233740fba 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.9 2000/02/19 22:13:36 tgl Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.10 2000/02/24 23:37:30 petere Exp $
 
 # ----------
 # Check call syntax
@@ -173,7 +173,7 @@ export PATH
 # Run initdb to initialize a database system in ./tmp_check
 # ----------
 echo "=============== Initializing check database instance   ================"
-initdb --pglib=$LIBDIR --pgdata=$PGDATA >$LOGDIR/initdb.log 2>&1
+initdb -L $LIBDIR -D $PGDATA >$LOGDIR/initdb.log 2>&1
 
 if [ $? -ne 0 ]
 then
@@ -239,7 +239,7 @@ fi
 # Install the PL/pgSQL language in it
 # ----------
 echo "=============== Installing PL/pgSQL...                 ================"
-createlang $HOSTLOC plpgsql regression
+createlang -L $LIBDIR $HOSTLOC plpgsql regression
 if [ $? -ne 0 -a $? -ne 2 ]; then
      echo createlang failed
     kill -15 $PMPID