Fix thinko.

This commit is contained in:
Andrew McMillan 2007-11-05 23:39:29 +13:00
parent 5895e99d72
commit 357fcc5cee

View File

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