From 09e7c045049328cebde375e28ed3ad315c364a90 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 28 Sep 2011 12:11:06 -0400 Subject: Use find -path instead of less portable find -wholename. --- pre-commit.d/30store-metadata | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pre-commit.d') diff --git a/pre-commit.d/30store-metadata b/pre-commit.d/30store-metadata index 76a3d65..d1facd6 100755 --- a/pre-commit.d/30store-metadata +++ b/pre-commit.d/30store-metadata @@ -56,7 +56,7 @@ generate_metadata() { # (Note that when using this, the find expression must end with # -print or -exec, else the excluded directories will actually be # printed!) - NOVCS='. -wholename ./.git -prune -o -wholename ./.bzr -prune -o -wholename ./.hg -prune -o -wholename ./_darcs -prune -o' + NOVCS='. -path ./.git -prune -o -path ./.bzr -prune -o -path ./.hg -prune -o -path ./_darcs -prune -o' # Keep the sort order the same at all times. LC_COLLATE=C -- cgit v1.2.3