~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to tools/check-misc.sh

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2008-03-10 16:39:07 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20080310163907-tv41g2zmf0qqgi85
Tags: 0.22.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
fail=0
 
4
 
 
5
( . "${tools_dir}"/check-whitespace.sh ) || fail=$?
 
6
 
 
7
if egrep '(Free\s*Software\s*Foundation.*02139|02111-1307)' "$@"
 
8
then
 
9
  echo "^^^ The above files contain the FSF's old address in GPL headers"
 
10
  fail=1
 
11
fi
 
12
 
 
13
exit $fail