summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-09-28 12:11:06 -0400
committerJoey Hess <joey@kitenet.net>2011-09-28 12:11:06 -0400
commit09e7c045049328cebde375e28ed3ad315c364a90 (patch)
tree945fbbf785d3f88b5ee5b3f92720a9cab0c1e031 /init.d
parent603dc934a94a5df7d9bd99642df2d88bffea7824 (diff)
Use find -path instead of less portable find -wholename.
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/60darcs-deleted-symlinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/60darcs-deleted-symlinks b/init.d/60darcs-deleted-symlinks
index 8d10d56..9c34e95 100755
--- a/init.d/60darcs-deleted-symlinks
+++ b/init.d/60darcs-deleted-symlinks
@@ -25,7 +25,7 @@ filter_ignore() {
if [ "$VCS" = darcs ];then
- 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'
# We assume that if .etckeeper is empty this is the first run
if [ -s .etckeeper ]; then