File: check-license-header.sh

package info (click to toggle)
python-mbedtls 2.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 960 kB
  • sloc: python: 4,595; sh: 170; makefile: 18
file content (7 lines) | stat: -rwxr-xr-x 144 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh

LICENSE_MISSING="$(
  grep -L '^# SPDX-License-Identifier: MIT$' "$@"
)"
printf "%s\n" "$LICENSE_MISSING"
test -z "$LICENSE_MISSING"