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