diff --git a/build_tools/check-sources.sh b/build_tools/check-sources.sh index afac3cd2c..69a7d8ef9 100755 --- a/build_tools/check-sources.sh +++ b/build_tools/check-sources.sh @@ -43,6 +43,12 @@ if [ "$?" != "1" ]; then BAD=1 fi +git grep -Li -E "license|copyright" -- ':*speed*.cc' ':*spdb*.h' ':*speed*.h' ':*spdb*.cc' +if [ "$?" != "1" ]; then + echo '^^^^ Source files do not contain license' + BAD=1 +fi + if [ "$BAD" ]; then exit 1 fi