Commit 6c4c4ec6 authored by Volker Krause's avatar Volker Krause

Adapt license script to the SPDX format

parent 4e5c7076
Pipeline #28277 passed with stage
in 7 minutes and 44 seconds
......@@ -3,6 +3,7 @@
find "$@" -name '*.h' -o -name '*.cpp' -o -name '*.qml' -o -name '*.java' -o -name "*.js" | grep -v /3rdparty/ | while read FILE; do
if grep -qiE "Licensed under CC0." "$FILE" ; then continue; fi
if grep -qiE "Copyright \(C\) [0-9, -]{4,} " "$FILE" ; then continue; fi
if grep -qiE "SPDX-License-Identifier: " "$FILE" ; then continue; fi
thisfile=`basename $FILE`
authorName=`git config user.name`
authorEmail=`git config user.email`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment