aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin C Meyer <ben@meyerhome.net>2012-02-13 03:31:37 -0800
committerBenjamin C Meyer <ben@meyerhome.net>2012-02-13 03:31:37 -0800
commite266763f5a193c60f5c77403d2006ef5e642c4f2 (patch)
treef39f6922cb08903310e85cb3829c0e56501636c4
parentcf6762c598acc2f3c9b89ad09fb869353760e366 (diff)
parentf16902fca34a7ba5d352cdbc4adc31f426c418f8 (diff)
downloadgit-hooks-e266763f5a193c60f5c77403d2006ef5e642c4f2.tar.gz
git-hooks-e266763f5a193c60f5c77403d2006ef5e642c4f2.tar.bz2
Merge pull request #10 from arikon/master
Fix icefox/git-hooks#9: -L arg to find must precede path to find from
-rwxr-xr-xgit-hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks b/git-hooks
index fdb7d94..a0e2dc5 100755
--- a/git-hooks
+++ b/git-hooks
@@ -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