icefox/git-hooks — Issue #9: list_hooks_in_dir cause an error "find: unknown predicate `-L'"
Author: dfilatov
Created: 2012-02-10 16:04:22+00:00
State: open

I got this error on MacOS and Linux.

If i place -L before "${1}/" it works ok:

```
function list_hooks_in_dir
{
find -L "${1}/" -perm +111 -type f 2>/dev/null | grep -v "^.$" | sort
}
```