summaryrefslogtreecommitdiff
path: root/util/gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'util/gitconfig')
-rwxr-xr-xutil/gitconfig/gitconfig.sh10
-rwxr-xr-xutil/gitconfig/pre-commit10
2 files changed, 2 insertions, 18 deletions
diff --git a/util/gitconfig/gitconfig.sh b/util/gitconfig/gitconfig.sh
index e287658a47..f86b2b41c5 100755
--- a/util/gitconfig/gitconfig.sh
+++ b/util/gitconfig/gitconfig.sh
@@ -1,15 +1,7 @@
#!/usr/bin/env bash
## This file is part of the coreboot project.
##
-## 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; version 2 of the License.
-##
-## 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.
-##
+## SPDX-License-Identifier: GPL-2.0-only
# In the hooks, use the same `make` tool as used when running `make gitconfig`,
# e.g. `remake gitconfig` will set `remake` to be run by the hooks.
diff --git a/util/gitconfig/pre-commit b/util/gitconfig/pre-commit
index 2dcdcb1930..3b04b59607 100755
--- a/util/gitconfig/pre-commit
+++ b/util/gitconfig/pre-commit
@@ -1,15 +1,7 @@
#!/bin/sh
## This file is part of the coreboot project.
##
-## 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; version 2 of the License.
-##
-## 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.
-##
+## SPDX-License-Identifier: GPL-2.0-only
set -e # -o errexit
set -u # -o nounset