diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2008-06-03 13:51:54 +0000 |
---|---|---|
committer | Sjoerd Simons <sjoerd@luon.net> | 2008-06-03 13:51:54 +0000 |
commit | e9f08f6a1591a2e35a17a430f5aa5cae7f62f816 (patch) | |
tree | 2f5f5a49a16f94464cd614b4be73f20c8db26f47 /tools/check-misc.sh | |
parent | 0399b890f6e105720e342badbf14ccf9fb9eee4e (diff) | |
download | telepathy-salut-e9f08f6a1591a2e35a17a430f5aa5cae7f62f816.tar.gz |
Add coding style checking tools
20080603135154-93b9a-b631438708091d087e3ba0eb58f04399819d1aba.gz
Diffstat (limited to 'tools/check-misc.sh')
-rw-r--r-- | tools/check-misc.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/check-misc.sh b/tools/check-misc.sh new file mode 100644 index 00000000..89e8e871 --- /dev/null +++ b/tools/check-misc.sh @@ -0,0 +1,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 |