aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/license_headers
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-07-22 00:01:27 +0100
committerTomasz Kramkowski <tk@the-tk.com>2021-07-22 00:02:06 +0100
commitb4a0979774fa5f83e1025581824bb56f23561803 (patch)
treef44c4e9032f42a1d5701f58eb52482c35db848d7 /scripts/license_headers
parent13b242e2fdfb020f29eaa302e1f7b0f6bb65395b (diff)
downloadpack-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-xscripts/license_headers14
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"