diff options
Diffstat (limited to 'scripts')
-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" |