Increase the chances of finding libpq if it's installed.
[pspp-builds.git] / tests / command / get-data-psql.sh
index 6b501025b8b6bd338fabd98bf55b4c1d5ea886e1..521a97f84c941c6e7a3615770b77c4f8552d66e9 100755 (executable)
@@ -21,7 +21,7 @@ export LANG
 
 port=6543
 dbase=pspptest
-PG_CONFIG=pg_config
+PG_CONFIG=${PG_CONFIG:=pg_config}
 pgpath=`$PG_CONFIG | awk '/BINDIR/{print $3}'`
 
 cleanup()