eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

non-executable-files-with-executable-bit.test 832B

123456789101112131415161718192021
  1. #!/bin/sh
  2. echo -n "testing files for executable bits that shouldn't be executable ... "
  3. find * -executable -type f | \
  4. grep -vE "compile|config\.(guess|status|sub)|configure|depcomp|install-sh|libtool|missing" | # Ignore autotools output \
  5. grep -vE "*\.test|src(/\.libs)?/(e?speak-ng|.*\.so\..*)|src/\.libs/lt-espeak-ng" | # Ignore built programs and libraries \
  6. grep -vE "*.\.sh|tools/emoji" | # Ignore helper scripts \
  7. grep -vE "src/ucd-tools/tools/(.*\.py|mkencodingtable)" | # Ignore ucd-tools helper scripts \
  8. tee tests/non-executable-files-with-executable-bit.check > /dev/null
  9. if [ -s tests/non-executable-files-with-executable-bit.check ] ; then
  10. echo "found"
  11. cat tests/non-executable-files-with-executable-bit.check
  12. false
  13. else
  14. rm tests/non-executable-files-with-executable-bit.check
  15. echo "none found"
  16. true
  17. fi