[commit: ghc] master: Fix #7661 regression. (f2c477e)

David Terei davidterei at gmail.com
Thu Jun 20 03:51:50 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/f2c477e6c2e7753997947bb0395be99faca169b9

>---------------------------------------------------------------

commit f2c477e6c2e7753997947bb0395be99faca169b9
Author: David Terei <davidterei at gmail.com>
Date:   Wed Jun 19 18:51:03 2013 -0700

    Fix #7661 regression.
    
    Patch from singpolyma.

>---------------------------------------------------------------

 aclocal.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 0283206..af492df 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -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





More information about the ghc-commits mailing list