list_hooks_in_dir cause an error "find: unknown predicate `-L'" #9

dfilatov opened this Issue Feb 10, 2012 · 0 comments


None yet
2 participants

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

arikon added a commit to arikon/git-hooks that referenced this issue Feb 13, 2012

icefox added a commit that referenced this issue Feb 13, 2012

Merge pull request #10 from arikon/master
Fix icefox/git-hooks#9: -L arg to find must precede path to find from

@icefox icefox closed this Feb 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment