X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=bindisttest%2FcheckBinaries.sh;h=cf8b09bde99b4b3e8b05f04b543113e06d4bfa2b;hb=4c1f0681d85da48deaf706c0f05d971deb48261f;hp=909371366d7f3cf105965c848672cafc35b1e5d2;hpb=03a4928b077a3a8fcde13717f1f6413c2b80cc6d;p=ghc-hetmet.git diff --git a/bindisttest/checkBinaries.sh b/bindisttest/checkBinaries.sh index 9093713..cf8b09b 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 '*.dylib' ! -name '*.dll'` do if grep -q '("GHC RTS", "YES")' "$f" then