diff options
author | David Terei <davidterei@gmail.com> | 2013-06-19 18:51:03 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2013-06-19 18:51:03 -0700 |
commit | f2c477e6c2e7753997947bb0395be99faca169b9 (patch) | |
tree | 1af97c2f84a3bd52f7ec7662bac58925bed6fe7a /aclocal.m4 | |
parent | 2ca4890db3d0aebe2d43fdff7b71c858ca253e50 (diff) | |
download | haskell-f2c477e6c2e7753997947bb0395be99faca169b9.tar.gz |
Fix #7661 regression.
Patch from singpolyma.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 0283206d67..af492dfac9 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 |