From d051ecedb23b49679a20c7de432126d298c09e28 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Tue, 17 May 2011 07:50:35 -0700 Subject: [PATCH] run over tree with find only once --- autogen.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index adcdd2794..ac8c76da6 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,5 +3,4 @@ # object tree, but this will do if you have all parts of the required # tool-chain installed autoreconf -f -i || { echo "autoreconf failed: $?"; exit 1; } -find . -name '*-private.h' -delete -find . -name '*-protos.h' -delete +find . -name '*-private.h' -o -name '*-protos.h' -delete