Skip to content

Commit

Permalink
add_license_blurb.sh - skip a generated file
Browse files Browse the repository at this point in the history
  • Loading branch information
winterz committed Aug 30, 2017
1 parent c1027a0 commit 3ff774d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add_license_blurb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authorName=`git config user.name`
authorEmail=`git config user.email`
thisYear=`date +%Y`

find "$@" -name '*.h' -o -name '*.cpp' -o -name '*.qml' | grep -v /3rdparty/ | grep -v /qmldebugcontrol/ | grep -v /StackWalker | grep -v /modeltest | grep -v /processlist | grep -v /interactiveprocess | grep -v /preloadcheck_mips | grep -v /build | while read FILE; do
find "$@" -name '*.h' -o -name '*.cpp' -o -name '*.qml' | grep -v /3rdparty/ | grep -v /qmldebugcontrol/ | grep -v /StackWalker | grep -v /modeltest | grep -v /processlist | grep -v /interactiveprocess | grep -v /preloadcheck_mips | grep -v /classesiconsindex_data | grep -v /build | while read FILE; do
if grep -qiE "Copyright \(C\) [0-9, -]{4,} Klar.*lvdalens Datakonsult AB" "$FILE" ; then continue; fi
thisfile=`basename $FILE`
cat <<EOF > "$FILE".tmp
Expand Down

0 comments on commit 3ff774d

Please sign in to comment.