Commit 4c415f93 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Use "-perm -u+x" rather than "-executable" to find executables

On Windows, -executable is matching the html docs.
parent 03a4928b
...@@ -4,7 +4,7 @@ EXPECTED_VERSION="$1" ...@@ -4,7 +4,7 @@ EXPECTED_VERSION="$1"
# Our shared libraries are currently executable (is that a bug?), so # Our shared libraries are currently executable (is that a bug?), so
# we exclude anything that looks like a shared library # we exclude anything that looks like a shared library
for f in `find bindisttest/a/b/c -type f -executable ! -name '*.so' ! -name '*.dynlib' ! -name '*.dll'` for f in `find bindisttest/a/b/c -type f -perm -u+x ! -name '*.so' ! -name '*.dynlib' ! -name '*.dll'`
do do
if grep -q '("GHC RTS", "YES")' "$f" if grep -q '("GHC RTS", "YES")' "$f"
then then
......
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