summaryrefslogtreecommitdiff
path: root/git_hooks/pre-commit
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-13 11:44:29 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-02-13 11:44:29 +0100
commita6c1a3addaf70915a44d92df8d6378e1e12529cc (patch)
tree63294c740e460bd78a6fcd6edd1663bfe3df171d /git_hooks/pre-commit
parentSet "load" tooltip to be more user friendly (diff)
downloadrekonq-a6c1a3addaf70915a44d92df8d6378e1e12529cc.tar.xz
/bin/grep --> grep
Diffstat (limited to 'git_hooks/pre-commit')
-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
;;