[open-ils-commits] [GIT] Evergreen ILS branch master updated. de67a84de3bbb1cb70e3224765c5cbf85c8f1cc1
Evergreen Git
git at git.evergreen-ils.org
Mon Oct 3 23:36:55 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via de67a84de3bbb1cb70e3224765c5cbf85c8f1cc1 (commit)
from 4a31cf769598910ab49f99995007fef966bdb61f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit de67a84de3bbb1cb70e3224765c5cbf85c8f1cc1
Author: Dan Scott <dscott at laurentian.ca>
Date: Mon Oct 3 23:35:35 2011 -0400
Fix update_db.sh to set eg_version correctly
psql wants --set=VARNAME=VALUE, we had -set VARNAME=VALUE; tested this
fix and it works with PostgreSQL 9.0.
Signed-off-by: Dan Scott <dscott at laurentian.ca>
diff --git a/build/tools/update_db.sh b/build/tools/update_db.sh
index 3177f1b..e93431c 100755
--- a/build/tools/update_db.sh
+++ b/build/tools/update_db.sh
@@ -106,7 +106,7 @@ if [ $COUNT -gt 0 ] ; then
for (( i=0; i<$COUNT; i++ )) ; do
echo "* Applying ${FILES[$i]}" >&3; # to the main script STDOUT
cat ${FILES[$i]}; # to the psql pipe
- done | psql -set eg_version="'$EGVERSION'" $PSQL_ACCESS ;
+ done | psql --set=eg_version="'$EGVERSION'" $PSQL_ACCESS ;
else
echo "* Nothing to update";
fi
-----------------------------------------------------------------------
Summary of changes:
build/tools/update_db.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list