aboutsummaryrefslogtreecommitdiff
path: root/scripts/license
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-05-01 22:14:52 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-05-01 22:14:52 +0300
commitedeea202fb6297fc5ae749a91ac8f9fb67b59fae (patch)
tree01ed39a91664d3fff485de42d44647f4e4b7c24c /scripts/license
parentb35787f4f2cf24e61b82f1eec6a5ff5eed4ba70b (diff)
downloadek-edeea202fb6297fc5ae749a91ac8f9fb67b59fae.tar.gz
ek-edeea202fb6297fc5ae749a91ac8f9fb67b59fae.zip
update license stuff
Diffstat (limited to 'scripts/license')
-rwxr-xr-xscripts/license7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/license b/scripts/license
index 2a2de9b..53bd5da 100755
--- a/scripts/license
+++ b/scripts/license
@@ -1,6 +1,6 @@
#!/bin/sh
-SPDX="/* SPDX-License-Identifier: GPL-3.0-or-later */"
+SPDX="/* SPDX-License-Identifier: copyleft-next-0.3.1 */"
for f in "$@"
do
@@ -8,4 +8,9 @@ do
then
sed -i "1i${SPDX}\n" "$f"
fi
+
+ if ! grep 'Copyright' "$f" > /dev/null
+ then
+ echo "Missing copyright info in $f"
+ fi
done