projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
03a4928
)
Use "-perm -u+x" rather than "-executable" to find executables
author
Ian Lynagh
<igloo@earth.li>
Thu, 16 Dec 2010 14:52:35 +0000
(14:52 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 16 Dec 2010 14:52:35 +0000
(14:52 +0000)
On Windows, -executable is matching the html docs.
bindisttest/checkBinaries.sh
patch
|
blob
|
history
diff --git
a/bindisttest/checkBinaries.sh
b/bindisttest/checkBinaries.sh
index
9093713
..
9637e68
100644
(file)
--- 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