diff options
author | Benjamin C Meyer <ben@meyerhome.net> | 2010-06-19 12:30:09 -0400 |
---|---|---|
committer | Benjamin C Meyer <ben@meyerhome.net> | 2010-06-19 12:30:09 -0400 |
commit | 6abef8eb1f021d91014b6a680f82fdfeaebec526 (patch) | |
tree | d6aea946460246729f1b61790114511d130588c0 /git_hooks/pre-commit | |
parent | d878274fa16a5eec708e0ef403c96b23d521c61c (diff) | |
download | git-hooks-6abef8eb1f021d91014b6a680f82fdfeaebec526.tar.gz git-hooks-6abef8eb1f021d91014b6a680f82fdfeaebec526.tar.bz2 |
Change license of all code from the 4 clause license to the 3 clause license
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
Diffstat (limited to 'git_hooks/pre-commit')
-rwxr-xr-x | git_hooks/pre-commit/bsd | 12 |
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 } |