help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weired error (related with long names or names with specially chara


From: Peng Yu
Subject: Re: Weired error (related with long names or names with specially character?)
Date: Wed, 9 Jun 2010 14:39:20 -0500

On Wed, Jun 9, 2010 at 2:08 PM, Stephan Beal <address@hidden> wrote:
> On Wed, Jun 9, 2010 at 6:48 PM, Peng Yu <address@hidden> wrote:
>
>  $(DIFF_BL2SEQ): %.diff.bl2seq: %.megablast.bl2seq %.blastn.bl2seq
>        diff $^ > $@
>
>>
>> -rw------- 1 807 2010-06-09 11:34
>> HWI-EAS11X_10097__4__1__15045__4929__0.blastn.bl2seq
>> -rw------- 1 614 2010-06-09 11:34
>> HWI-EAS11X_10097__4__1__15045__4929__0.megablast.bl2seq
>
>
>>
>> /make_test_long$ make
>> diff HWI-EAS11X_10097__4__1__15045__4929__0.megablast.bl2seq
>> HWI-EAS11X_10097__4__1__15045__4929__0.blastn.bl2seq >
>> HWI-EAS11X_10097__4__1__15045__4929__0.diff.bl2seq
>> make: *** [HWI-EAS11X_10097__4__1__15045__4929__0.diff.bl2seq] Error 1
>
> it's failing because "diff" is ending with a non-zero error code. The files
> are different (they have different sizes), so diff tells you so by exiting
> with code 1. If you want to ignore an error code from the diff then do one
> of:
> address@hidden ...
> or:
>   diff ...; true

The first doesn't work. Only the second works. Thank you for point it
out. Otherwise, I would have puzzled for a long time.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]