diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-07-22 00:01:27 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-07-22 00:02:06 +0100 |
commit | b4a0979774fa5f83e1025581824bb56f23561803 (patch) | |
tree | f44c4e9032f42a1d5701f58eb52482c35db848d7 /scripts/license_headers | |
parent | 13b242e2fdfb020f29eaa302e1f7b0f6bb65395b (diff) | |
download | pack-b4a0979774fa5f83e1025581824bb56f23561803.tar.gz pack-b4a0979774fa5f83e1025581824bb56f23561803.tar.xz pack-b4a0979774fa5f83e1025581824bb56f23561803.zip |
Remove scripts/license_headers checker
The license header check script shouldn't be bundled in with the
project.
Diffstat (limited to 'scripts/license_headers')
-rwxr-xr-x | scripts/license_headers | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/license_headers b/scripts/license_headers deleted file mode 100755 index a381d02..0000000 --- a/scripts/license_headers +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -mapfile -t ignore <.licignore - -ret=0 - -while read -r -d ''; do - if ! grep -q SPDX-License-Identifier "$REPLY"; then - ret=1 - echo "'$REPLY' has no SPDX-License-Identifier" - fi -done < <(git ls-files -z "${ignore[@]/#/:!:}") - -exit "$ret" |