aboutsummaryrefslogtreecommitdiff
path: root/runmepostgres.sh
diff options
context:
space:
mode:
authorTom Harley2018-02-08 01:20:26 +0000
committerTom Harley2018-02-08 01:20:26 +0000
commit39dedb16ea84c55bce090295138105c2881aaf5c (patch)
treea0002e7fe431986238c0b91adde485151e529bd2 /runmepostgres.sh
parentstarted working on ORM for DB (diff)
downloadmedicine-39dedb16ea84c55bce090295138105c2881aaf5c.tar.gz
medicine-39dedb16ea84c55bce090295138105c2881aaf5c.zip

fixed runmepostgres.sh to actually use PGDIR

Diffstat (limited to 'runmepostgres.sh')
-rwxr-xr-xrunmepostgres.sh2
1 files changed, 1 insertions, 1 deletions
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;