Fix bug found when I first actually used it :-)

This commit is contained in:
Andrew McMillan 2006-10-20 10:23:22 +13:00
parent 29117f2eda
commit 757e7c8b2f

View File

@ -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