From 5dab4422e9fb0781ae603a3df5cdfe1e14029f6b Mon Sep 17 00:00:00 2001 From: Xavier Michelon Date: Tue, 3 Jan 2023 17:42:28 +0100 Subject: [PATCH] Other: added C/C++ header template file (*.h.in) type to missing_license.sh script. --- internal/frontend/bridge-gui/bridge-gui/Version.h.in | 2 +- utils/missing_license.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/frontend/bridge-gui/bridge-gui/Version.h.in b/internal/frontend/bridge-gui/bridge-gui/Version.h.in index 12ef50f3..a9081306 100644 --- a/internal/frontend/bridge-gui/bridge-gui/Version.h.in +++ b/internal/frontend/bridge-gui/bridge-gui/Version.h.in @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Proton AG +// Copyright (c) 2023 Proton AG // // This file is part of Proton Mail Bridge. // diff --git a/utils/missing_license.sh b/utils/missing_license.sh index 21fe4923..563f7216 100755 --- a/utils/missing_license.sh +++ b/utils/missing_license.sh @@ -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}