[commit: ghc] master: Fix usage of `find -perm` in aclocal.m4 (#9697) (87cd37b)
git at git.haskell.org
git at git.haskell.org
Tue Nov 18 18:21:50 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/87cd37b7e61ef90842101a0d2fb1f6c9c8580976/ghc
>---------------------------------------------------------------
commit 87cd37b7e61ef90842101a0d2fb1f6c9c8580976
Author: Nicholas Hart <nic at hdb3.net>
Date: Tue Nov 18 12:21:03 2014 -0600
Fix usage of `find -perm` in aclocal.m4 (#9697)
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
87cd37b7e61ef90842101a0d2fb1f6c9c8580976
aclocal.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aclocal.m4 b/aclocal.m4
index 0db231d..68ffd9c 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2062,7 +2062,7 @@ AC_DEFUN([FIND_LLVM_PROG],[
if test "$windows" = YES; then
$1=`${FindCmd} "${p}" -type f -maxdepth 1 -regex '.*/$3-[[0-9]]\.[[0-9]]' -or -type l -maxdepth 1 -regex '.*/$3-[[0-9]]\.[[0-9]]' | ${SortCmd} -n | tail -1`
else
- $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`
+ $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`
fi
if test -n "$$1"; then
break
More information about the ghc-commits
mailing list