From b4a0979774fa5f83e1025581824bb56f23561803 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 22 Jul 2021 00:01:27 +0100 Subject: Remove scripts/license_headers checker The license header check script shouldn't be bundled in with the project. --- scripts/license_headers | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 scripts/license_headers (limited to 'scripts/license_headers') 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" -- cgit v1.2.3-54-g00ecf