summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit_hooks/pre-commit/copyrightyear_check4
1 files changed, 2 insertions, 2 deletions
diff --git a/git_hooks/pre-commit/copyrightyear_check b/git_hooks/pre-commit/copyrightyear_check
index 43c97d0c..a489e1e8 100755
--- a/git_hooks/pre-commit/copyrightyear_check
+++ b/git_hooks/pre-commit/copyrightyear_check
@@ -41,10 +41,10 @@ case "${1}" in
echo "Check the files that are being committed for a copyright with a proper year."
;;
* )
- for file in `git diff-index --cached --name-only HEAD | /bin/grep \.h$` ; do
+ for file in `git diff-index --cached --name-only HEAD | grep \.h$` ; do
test_file "${file}"
done
- for file in `git diff-index --cached --name-only HEAD | /bin/grep \.cpp$` ; do
+ for file in `git diff-index --cached --name-only HEAD | grep \.cpp$` ; do
test_file "${file}"
done
;;