aboutsummaryrefslogtreecommitdiff
path: root/git_hooks
diff options
context:
space:
mode:
authorBenjamin C Meyer <ben@meyerhome.net>2010-06-19 12:30:09 -0400
committerBenjamin C Meyer <ben@meyerhome.net>2010-06-19 12:30:09 -0400
commit6abef8eb1f021d91014b6a680f82fdfeaebec526 (patch)
treed6aea946460246729f1b61790114511d130588c0 /git_hooks
parentd878274fa16a5eec708e0ef403c96b23d521c61c (diff)
downloadgit-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')
-rwxr-xr-xgit_hooks/commit-msg/signed-off-by5
-rwxr-xr-xgit_hooks/pre-commit/bsd12
2 files changed, 5 insertions, 12 deletions
diff --git a/git_hooks/commit-msg/signed-off-by b/git_hooks/commit-msg/signed-off-by
index 9fddff7..5dbafb4 100755
--- a/git_hooks/commit-msg/signed-off-by
+++ b/git_hooks/commit-msg/signed-off-by
@@ -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.
#
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
}