gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: do not hardcode P


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: do not hardcode Postgresql bin location.
Date: Fri, 09 Mar 2018 09:18:33 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 20fa0d5  do not hardcode Postgresql bin location.
20fa0d5 is described below

commit 20fa0d512e32c54632515b5b78dc429c7906b4f2
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 9 09:17:55 2018 +0100

    do not hardcode Postgresql bin location.
---
 bootstrap-standalone | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bootstrap-standalone b/bootstrap-standalone
index d906cb4..3e80c1f 100755
--- a/bootstrap-standalone
+++ b/bootstrap-standalone
@@ -11,6 +11,7 @@ set -eu
 ENVNAME=$USER
 BRANCH=master
 CURRENCY=$(echo "KUDOS-$USER" | cut -c 1-11)
+PGBINDIR=$(pg_config --bindir)
 
 cd $HOME
 
@@ -39,9 +40,9 @@ fi
 
 mkdir -p $HOME/sockets
 
-/usr/lib/postgresql/9.5/bin/postgres --single -D ~/talerdb  -k $HOME/sockets 
-h "" postgres \
+$PGBINDIR/postgres --single -D ~/talerdb  -k $HOME/sockets -h "" postgres \
   >/dev/null <<< "create database taler"
-/usr/lib/postgresql/9.5/bin/postgres --single -D ~/talerdb  -k $HOME/sockets 
-h "" postgres \
+$PGBINDIR/postgres --single -D ~/talerdb  -k $HOME/sockets -h "" postgres \
   >/dev/null <<< "create database talercheck"
 
 cat >$HOME/activate <<EOL

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]