Permalink
Browse files

Fix icefox/git-hooks#9: -L arg to find must precede path to find from

  • Loading branch information...
1 parent cf6762c commit f16902fca34a7ba5d352cdbc4adc31f426c418f8 @arikon arikon 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 f16902f

Please sign in to comment.