Commit f2c477e6 authored by dterei's avatar dterei

Fix #7661 regression.

Patch from singpolyma.
parent 2ca4890d
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment