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

Eric Gallager egall@gwmail.gwu.edu
Sun Jul 5 22:59:00 GMT 2015


I was just matching the code that was already used there... should the
lines to ignore the CVS and .svn folders be re-written into the style
you propose, too?

On 7/5/15, Andreas Schwab <schwab@linux-m68k.org> wrote:
> 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."
>



More information about the Gcc-patches mailing list