summaryrefslogtreecommitdiff
path: root/util/chromeos
diff options
context:
space:
mode:
Diffstat (limited to 'util/chromeos')
-rwxr-xr-xutil/chromeos/update_ec_headers.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/chromeos/update_ec_headers.sh b/util/chromeos/update_ec_headers.sh
index c3ee13e5f7..23b6418983 100755
--- a/util/chromeos/update_ec_headers.sh
+++ b/util/chromeos/update_ec_headers.sh
@@ -12,6 +12,7 @@ set -u
scratch_file=''
coreboot_top=''
pname=''
+SPDX_ID_STRING="SPDX-License-Identifier"
cleanup()
{
@@ -41,7 +42,7 @@ usage()
update_copyright()
{
- local spdx='/* SPDX-License-Identifier: BSD-3-Clause */'
+ local spdx="/* ${SPDX_ID_STRING}: BSD-3-Clause */"
local f=$1
# replace existing copyright with empty lines