File: check-misc.sh

package info (click to toggle)
libtelepathy 0.3.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,284 kB
  • ctags: 359
  • sloc: sh: 8,995; xml: 5,823; ansic: 2,309; makefile: 305; python: 301
file content (13 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (72)
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