Fix #7661 regression.
authorDavid Terei <davidterei@gmail.com>
Thu, 20 Jun 2013 01:51:03 +0000 (18:51 -0700)
committerDavid Terei <davidterei@gmail.com>
Thu, 20 Jun 2013 01:51:03 +0000 (18:51 -0700)
Patch from singpolyma.

aclocal.m4

index 0283206..af492df 100644 (file)
@@ -1989,7 +1989,7 @@ AC_DEFUN([FIND_LLVM_PROG],[
         for p in ${PATH}; do
             if test -d "${p}"; then
                 $1=`${FindCmd} "${p}" -type f -perm +111 -maxdepth 1 -regex '.*/$3-[[0-9]]\.[[0-9]]' -or -type l -perm +111 -maxdepth 1 -regex '.*/$3-[[0-9]]\.[[0-9]]' | ${SortCmd} -n | tail -1`
-                if test -n "$1"; then
+                if test -n "$$1"; then
                     break
                 fi
             fi