From b33d7d1190c11b2cd0bcab3c9b04b99e4af89641 Mon Sep 17 00:00:00 2001 From: phasefx Date: Sat, 25 Oct 2008 13:31:59 +0000 Subject: [PATCH] wrong method name git-svn-id: svn://svn.open-ils.org/ILS/trunk@10907 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/build-db.sh | 3 ++- Open-ILS/xul/staff_client/server/circ/util.js | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/sql/Pg/build-db.sh b/Open-ILS/src/sql/Pg/build-db.sh index 816ab74793..06bd331cee 100755 --- a/Open-ILS/src/sql/Pg/build-db.sh +++ b/Open-ILS/src/sql/Pg/build-db.sh @@ -15,7 +15,8 @@ export PGHOST PGPORT PGDATABASE PGUSER PGPASSWORD # --------------------------------------------------------------------------- # Lookup the database version from the PostgreSQL server. # --------------------------------------------------------------------------- -DB_VERSION=`psql -qtc 'show server_version;' | xargs | cut -c1,3` +#DB_VERSION=`psql -qtc 'show server_version;' | xargs | cut -c1,3` +DB_VERSION=81 if [ -z "$DB_VERSION" ] || [ `echo $DB_VERSION | grep -c '[^0-9]'` != 0 ]; then cat <