Use directory-exists check rather than file-exists check for aclocal directory

This commit is contained in:
Lovell Fuller 2013-09-07 22:12:50 +01:00
parent d78b417c3a
commit cce2b3da00

View File

@ -22,7 +22,7 @@ ACDIR=`aclocal --print-ac-dir`
# OS X with brew sets ACDIR to
# /usr/local/Cellar/automake/1.13.1/share/aclocal, the staging area, which is
# totally wrong argh
if [ ! -f $ACDIR ]; then
if [ ! -d $ACDIR ]; then
ACDIR=/usr/local/share/aclocal
fi