projects
/
contrib
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68790cc
)
we need single quotes around the pg password
author
Chris Sharp
<csharp@georgialibraries.org>
Wed, 13 Apr 2016 18:40:14 +0000
(14:40 -0400)
committer
Chris Sharp
<csharp@georgialibraries.org>
Wed, 13 Apr 2016 18:40:14 +0000
(14:40 -0400)
install-eg/install_eg.sh
patch
|
blob
|
history
diff --git
a/install-eg/install_eg.sh
b/install-eg/install_eg.sh
index
ec39d7a
..
8643476
100755
(executable)
--- a/
install-eg/install_eg.sh
+++ b/
install-eg/install_eg.sh
@@
-157,7
+157,7
@@
echo $EG_DB_PASSWORD > $WORKDIR/evergreen-db-password.$(date +%Y%m%d%H%M%S)
cd $EG_SOURCE_DIR
make -f Open-ILS/src/extras/Makefile.install postgres-server-$OS_VERSION
su - postgres <<EOF
-psql -c "CREATE ROLE $EG_DB_USER WITH SUPERUSER LOGIN PASSWORD
$EG_DB_PASSWORD
"
+psql -c "CREATE ROLE $EG_DB_USER WITH SUPERUSER LOGIN PASSWORD
'$EG_DB_PASSWORD'
"
EOF
echo $PG_PASS_STRING > ~/.pgpass
chmod 600 ~/.pgpass