From 39dedb16ea84c55bce090295138105c2881aaf5c Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Thu, 8 Feb 2018 01:20:26 +0000 Subject: fixed runmepostgres.sh to actually use PGDIR --- runmepostgres.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runmepostgres.sh') diff --git a/runmepostgres.sh b/runmepostgres.sh index b5dd29c..dfa5764 100755 --- a/runmepostgres.sh +++ b/runmepostgres.sh @@ -7,4 +7,4 @@ echo "> Starting Server"; "$PGDIR/postgres/bin/pg_ctl" -D "$PGDIR/postgres/data/" -l POSTGRES_logfile start; echo "> Conecting as admin user: " + ${USER}; -~/pg/postgres/bin/psql -U ${USER} postgres; +"$PGDIR/postgres/bin/psql" -U ${USER} postgres; -- cgit v1.2.1