File: check-misc.sh

package info (click to toggle)
telepathy-logger-qt 17.09.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 856 kB
  • sloc: python: 3,801; cpp: 2,212; xml: 1,001; sh: 126; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (71)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

fail=0

( . "${tools_dir}"/check-whitespace.sh ) || fail=$?

if egrep '(Free\s*Software\s*Foundation.*02139|02111-1307)' "$@"
then
  echo "^^^ The above files contain the FSF's old address in GPL headers"
  fail=1
fi

exit $fail