This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] [fixincludes] Ignore .DS_Store junk files when running make check


Eric Gallager <egall@gwmail.gwu.edu> writes:

> I've attached trivial, 1-line patch to fixincludes_check.tpl; it
> allows 'make check' to succeed on OS X, by ignoring the files that
> Finder creates to keep track of the status of directories.
>
> -Eric Gallager
>  fixincludes/check.tpl | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/fixincludes/check.tpl b/fixincludes/check.tpl
> index 0d1f444..300aeac 100644
> --- a/fixincludes/check.tpl
> +++ b/fixincludes/check.tpl
> @@ -143,6 +143,7 @@ cd $TESTBASE
>  
>  find * -type f -print | \
>  fgrep -v 'CVS/' | \
> +fgrep -v '.DS_Store' | \
>  fgrep -v '.svn/' > ${TESTDIR}/LIST
>  
>  exitok=`

find ... ! -name .DS_Store ...

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]