Patch failures using crosstool
Mon Jun 21 17:19:00 GMT 2004
>>yes. The greps wouldn't be needed if patch were better about
>>returning nonzero status on failed patches.
> patch -p1 -f --dry-run
> should exit 0 if applied successfully even with fuzz...else exit 1
> I haven't done too much checking to see how reliable it is though...
I think -f is the problem. It means both "don't ask me anything"
and "never fail". What I need instead is a flag that just means
"don't ask me any questions, but do exit with nonzero status if you
can't apply a patch".
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc