diff options
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 |
