diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-06-24 23:00:26 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-06-24 23:00:26 +0300 |
| commit | 8d4b133652230b945e945d5f14f7c0b1f9f7bffc (patch) | |
| tree | 6a7b0e80b1d088786803af377281872173ddfab0 /scripts | |
| parent | 5923fd6282cb12c217a3f1a3d366dc7a39ed71a3 (diff) | |
| download | copyjit-8d4b133652230b945e945d5f14f7c0b1f9f7bffc.tar.gz copyjit-8d4b133652230b945e945d5f14f7c0b1f9f7bffc.zip | |
add license stuff
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/license | 7 |
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 |
