Simon's hacking on monad-comp; incomplete
[ghc-hetmet.git] / bindisttest / checkBinaries.sh
index 3c62198..cf8b09b 100644 (file)
@@ -1,11 +1,10 @@
 #!/bin/sh
 
-echo "1 is $1 done"
 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 '*.dylib' ! -name '*.dll'`
 do
     if grep -q '("GHC RTS", "YES")' "$f"
     then