From 757e7c8b2f1d768710dc937303beda071b5769f4 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 20 Oct 2006 10:23:22 +1300 Subject: [PATCH] Fix bug found when I first actually used it :-) --- dba/update-database.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dba/update-database.sh b/dba/update-database.sh index d3daa45c..9b588581 100755 --- a/dba/update-database.sh +++ b/dba/update-database.sh @@ -11,7 +11,7 @@ DBADIR="`dirname \"$0\"`" # FIXME: We shouldn't really apply patches we already have installed, although # it should be safe enough since any patch which is not idempotent should be # denied multiple application through the AWL schema management functions. -for PATCHFILE in "${DBADIR}/patches/*.*.*.sql"; do +for PATCHFILE in ${DBADIR}/patches/*.*.*.sql ; do psql -q -f "${PATCHFILE}" "${DBNAME}" done