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.

21 lines
875B

  1. #!/bin/sh
  2. cd "$1"/..
  3. git --version > /dev/null || { cat tests/ref/fate/source ; exit 0; }
  4. echo Files without standard license headers:
  5. git grep -L -E "This file is part of FFmpeg|This file is part of libswresample|"\
  6. "Permission to use, copy, modify, and/or distribute this software for any|"\
  7. "Permission is hereby granted, free of charge, to any person|"\
  8. "Permission is hereby granted to use, copy, modify, and distribute this|"\
  9. "Permission is granted to anyone to use this software for any purpose|"\
  10. "This work is licensed under the terms of the GNU GPL|"\
  11. "Redistribution and use in source and binary forms, with or without modification|"\
  12. "This library is free software; you can redistribute it and/or|"\
  13. "This program is free software; you can redistribute it and/or modify|"\
  14. "This file is placed in the public domain" | grep -E '\.c$|\.h$|\.S$|\.asm$'
  15. exit 0