From 357fcc5cee166258e8232e90c08895240ad54724 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 5 Nov 2007 23:39:29 +1300 Subject: [PATCH] Fix thinko. --- dba/create-database.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dba/create-database.sh b/dba/create-database.sh index d7dde0fe..a944cac6 100755 --- a/dba/create-database.sh +++ b/dba/create-database.sh @@ -15,11 +15,11 @@ testawldir() { # # Attempt to locate the AWL directory AWLDIR="${DBADIR}/../../awl" -if ! testawldir ; then +if ! testawldir "${AWLDIR}"; then AWLDIR="/usr/share/awl" - if ! testawldir ; then + if ! testawldir "${AWLDIR}"; then AWLDIR="/usr/local/share/awl" - if ! testawldir ; then + if ! testawldir "${AWLDIR}"; then echo "Unable to find AWL libraries" exit 1 fi