Fixed problem with postgres 8.0.x
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 15 Apr 2008 09:42:54 +0000 (09:42 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 15 Apr 2008 09:42:54 +0000 (09:42 +0000)
tests/command/get-data-psql.sh

index 7735c36b04e2138ad958413eb1ce767643cf573a..e47b5af7113275c4d26f0b9d2fa0115caf7570c3 100755 (executable)
@@ -22,7 +22,7 @@ export LANG
 port=6543
 dbase=pspptest
 PG_CONFIG=${PG_CONFIG:=pg_config}
-pgpath=`$PG_CONFIG | awk '/BINDIR/{print $3}'`
+pgpath=`$PG_CONFIG --bindir`
 
 cleanup()
 {