aboutsummaryrefslogblamecommitdiffstats
path: root/tools/check-misc.sh
blob: 89e8e871aeaa160710e5f2625bfee3aa1c29e656 (plain) (tree)
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