summaryrefslogtreecommitdiff
path: root/bindisttest
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-12-16 14:52:35 +0000
committerIan Lynagh <igloo@earth.li>2010-12-16 14:52:35 +0000
commit4c415f933a099cc968d4928ddd646dabed83934e (patch)
tree74eda702c4238619943c97a96b85b19f492a0153 /bindisttest
parent03a4928b077a3a8fcde13717f1f6413c2b80cc6d (diff)
downloadhaskell-4c415f933a099cc968d4928ddd646dabed83934e.tar.gz
Use "-perm -u+x" rather than "-executable" to find executables
On Windows, -executable is matching the html docs.
Diffstat (limited to 'bindisttest')
-rw-r--r--bindisttest/checkBinaries.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindisttest/checkBinaries.sh b/bindisttest/checkBinaries.sh
index 909371366d..9637e68e9e 100644
--- a/bindisttest/checkBinaries.sh
+++ b/bindisttest/checkBinaries.sh
@@ -4,7 +4,7 @@ EXPECTED_VERSION="$1"
# Our shared libraries are currently executable (is that a bug?), so
# 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
if grep -q '("GHC RTS", "YES")' "$f"
then