diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-02-13 11:44:29 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-02-13 11:44:29 +0100 |
commit | a6c1a3addaf70915a44d92df8d6378e1e12529cc (patch) | |
tree | 63294c740e460bd78a6fcd6edd1663bfe3df171d /git_hooks/pre-commit/copyrightyear_check | |
parent | Set "load" tooltip to be more user friendly (diff) | |
download | rekonq-a6c1a3addaf70915a44d92df8d6378e1e12529cc.tar.xz |
/bin/grep --> grep
Diffstat (limited to 'git_hooks/pre-commit/copyrightyear_check')
-rwxr-xr-x | git_hooks/pre-commit/copyrightyear_check | 4 |
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 ;; |