Permalink
Browse files

Merge pull request #10 from arikon/master

Fix icefox/git-hooks#9: -L arg to find must precede path to find from
  • Loading branch information...
2 parents cf6762c + f16902f commit e266763f5a193c60f5c77403d2006ef5e642c4f2 @icefox committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-hooks
View
@@ -43,7 +43,7 @@ function hook_dirs
function list_hooks_in_dir
{
- find "${1}/" -L -perm +111 -type f 2>/dev/null | grep -v "^.$" | sort
+ find -L "${1}/" -perm +111 -type f 2>/dev/null | grep -v "^.$" | sort
}
function run_hooks

0 comments on commit e266763

Please sign in to comment.