Commit 36136dbd authored by Volker Krause's avatar Volker Krause
Browse files

Don't duplicate SPDX headers

parent 9b823b74
Pipeline #30926 passed with stage
in 1 minute and 43 seconds
#!/bin/bash
find "$@" -name '*.h' -o -name '*.cpp' -o -name '*.qml' | grep -v /3rdparty/ | while read FILE; do
if grep -qiE "SPDX" "$FILE"; then continue; fi
if grep -qiE "Copyright \(C\) [0-9, -]{4,} " "$FILE" ; then continue; fi
thisfile=`basename $FILE`
authorName=`git config user.name`
......
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