aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBence Szépkúti <bence.szepkuti@arm.com>2020-08-19 17:17:56 +0200
committerBence Szépkúti <bence.szepkuti@arm.com>2020-08-19 17:54:47 +0200
commit2645bcc70924f97c30f4d5c9a1d0324148d107dc (patch)
treedd843aebe71533b571f9424e13facf2febb2713d
parent2823efabc8e4398dedb9dd30b767573b63cfd459 (diff)
downloadmbed-tls-2645bcc70924f97c30f4d5c9a1d0324148d107dc.tar.gz
Fix license header in pre-commit hook
The file was not updated to include the GPL 2.0+ header as well when it was backported. Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
-rwxr-xr-xtests/git-scripts/pre-commit.sh29
1 files changed, 28 insertions, 1 deletions
diff --git a/tests/git-scripts/pre-commit.sh b/tests/git-scripts/pre-commit.sh
index fb28dad91..fac10ccfb 100755
--- a/tests/git-scripts/pre-commit.sh
+++ b/tests/git-scripts/pre-commit.sh
@@ -3,7 +3,13 @@
# pre-commit.sh
#
# Copyright The Mbed TLS Contributors
-# SPDX-License-Identifier: Apache-2.0
+# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+#
+# This file is provided under the Apache License 2.0, or the
+# GNU General Public License v2.0 or later.
+#
+# **********
+# Apache License 2.0:
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
@@ -16,6 +22,27 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# **********
+#
+# **********
+# GNU General Public License v2.0 or later:
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# **********
# Purpose
#