X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=bindisttest%2FcheckBinaries.sh;h=cf8b09bde99b4b3e8b05f04b543113e06d4bfa2b;hb=be5ee2e3a1d3b3a0acfa19d4d73b087789956436;hp=3c621983112751bc7a575d5d9fdd905a653a7879;hpb=8224f948f403886d76b98b1c91924485c9318388;p=ghc-hetmet.git diff --git a/bindisttest/checkBinaries.sh b/bindisttest/checkBinaries.sh index 3c62198..cf8b09b 100644 --- a/bindisttest/checkBinaries.sh +++ b/bindisttest/checkBinaries.sh @@ -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