aboutsummaryrefslogtreecommitdiff
path: root/git_hooks/pre-commit/bsd
diff options
context:
space:
mode:
Diffstat (limited to 'git_hooks/pre-commit/bsd')
-rwxr-xr-xgit_hooks/pre-commit/bsd12
1 files changed, 4 insertions, 8 deletions
diff --git a/git_hooks/pre-commit/bsd b/git_hooks/pre-commit/bsd
index 3080cef..3393348 100755
--- a/git_hooks/pre-commit/bsd
+++ b/git_hooks/pre-commit/bsd
@@ -10,10 +10,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement:
-# This product includes software developed by Benjamin C. Meyer.
-# 4. Neither the name of the project nor the
+# 3. Neither the name of the project nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
@@ -34,10 +31,9 @@ function test_file {
if grep 'Copyright (c)' "${file}" | grep -v 'grep' >/dev/null 2>&1 ; then
set -e
grep "Redistribution and use in source and binary forms, with or without" "${file}" >/dev/null
- grep "1. Redistributions of source code must retain the above copyright" "${file}" >/dev/null
- grep "2. Redistributions in binary form must reproduce the above copyright" "${file}" >/dev/null
- grep "3. All advertising materials mentioning features or use of this software" "${file}" >/dev/null
- grep "4. Neither the name of the project nor the" "${file}" >/dev/null
+ grep "Redistributions of source code must retain the above copyright" "${file}" >/dev/null
+ grep "Redistributions in binary form must reproduce the above copyright" "${file}" >/dev/null
+ grep "Neither the name of the project nor the" "${file}" >/dev/null
set +e
fi
}