Fix server startup so it works with postgres 8.2
[pspp-builds.git] / tests / command / get-data-psql.sh
index 507144ceb41a39f5e260b109cbffad892e327032..6d099a06da56146b8247d41625a37a3f982c968c 100755 (executable)
@@ -74,7 +74,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="run server"
-PGHOST=$TEMPDIR $pgpath/pg_ctl -D $TEMPDIR/cluster  start -w -o "-k $TEMPDIR -p $port -h ''"  > /dev/null
+PGHOST=$TEMPDIR PGPORT=$port $pgpath/pg_ctl -D $TEMPDIR/cluster  start -w -o "-k $TEMPDIR" > /dev/null
 if [ $? -ne 0 ] ; then no_result ; fi