Other: added C/C++ header template file (*.h.in) type to missing_license.sh script.

This commit is contained in:
Xavier Michelon 2023-01-03 17:42:28 +01:00
parent 82b6037a00
commit 5dab4422e9
No known key found for this signature in database
GPG Key ID: DAE1FC3F3255843C
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// Copyright (c) 2022 Proton AG
// Copyright (c) 2023 Proton AG
//
// This file is part of Proton Mail Bridge.
//

View File

@ -30,7 +30,7 @@ MISSING_FILES=$(find . \
-not -name "*.pb.h" \
-not -name "*.pb.cc" \
-not -name "*_moc.h" \
-regextype posix-egrep -regex ".*\.go|.*\.qml|.*\.sh|.*\.py|.*\.cpp|.*\.cc|.*\.h|.*\.hpp|.*\.m" \
-regextype posix-egrep -regex ".*\.go|.*\.qml|.*\.sh|.*\.py|.*\.cpp|.*\.cc|.*\.h|.*\.hpp|.*\.m|.*\.h\.in" \
-exec grep -L "Copyright (c) ${YEAR} Proton AG" {} \;)
for f in ${MISSING_FILES}