summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorNicholas Hart <nic@hdb3.net>2014-11-18 12:21:03 -0600
committerAustin Seipp <austin@well-typed.com>2014-11-18 12:21:08 -0600
commit87cd37b7e61ef90842101a0d2fb1f6c9c8580976 (patch)
tree5ae4727e77f78ea9663a33ba28fab3e567546ef7 /aclocal.m4
parentddb484c2335c75f8fd767f54377e418db400aede (diff)
downloadhaskell-87cd37b7e61ef90842101a0d2fb1f6c9c8580976.tar.gz
Fix usage of `find -perm` in aclocal.m4 (#9697)
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 0db231db04..68ffd9ce4a 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