gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [committed] Fix fixincludes/check.tpl for CVS->subversion

Subject: Re: [committed] Fix fixincludes/check.tpl for CVS->subversion
From: Andreas Schwab
Date: Sun, 06 Nov 2005 10:54:56 +0100
Andreas Jaeger <aj@xxxxxxx> writes:

> Index: fixincludes/check.tpl
> ===================================================================
> --- fixincludes/check.tpl     (revision 106532)
> +++ fixincludes/check.tpl     (working copy)
> @@ -144,6 +144,7 @@ echo $exitok`
>  cd $TESTBASE
>  
>  find * -type f -print | \
> +fgrep -v 'CVS/' \
>  fgrep -v '.svn/' > ${TESTDIR}/LIST
>  
>  exitok=`

How about this:

  find * -type d \( -name CVS -o -name .svn \) -prune -o -type f -print

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

<Prev in Thread] Current Thread [Next in Thread>