From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 25 Jan 2013 14:17:35 +0000 (+0000)
Subject: Rephrase a find command so all the files found can be deleted
X-Git-Tag: v_3_0_21~90
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/man-page/faq/@default-cgi@toggle?a=commitdiff_plain;h=5c6e6e02171bc7ab75e626d97e4deba5c4c322ad;p=privoxy.git

Rephrase a find command so all the files found can be deleted
---

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 3aea0526..99a9e67e 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,6 +1,6 @@
 # Note:  Makefile is built automatically from Makefile.in
 #
-# $Id: GNUmakefile.in,v 1.216 2013/01/10 11:03:58 fabiankeil Exp $
+# $Id: GNUmakefile.in,v 1.217 2013/01/25 14:17:15 fabiankeil Exp $
 #
 # Written by and Copyright (C) 2001-2013 members of the
 # Privoxy team. http://www.privoxy.org/
@@ -741,7 +741,8 @@ $(PROGRAM): $(OBJS) $(W32_FILES)
 
 clean:
 	$(RM) a.out $(OBJS) $(W32_FILES) $(W32_INIS) $(PROGRAM) default.action \
-		`find . -name TAGS -o -name tags | $(GREP) -v .git` config.base config.tmp \
+		config.base config.tmp \
+		`find . \( -name TAGS -o -name tags \) -and -not -path "./.git/refs/tags"` \
 		`find . -name "*.orig" -a -not -name rc.privoxy.orig`
 
 clean-editor-files: