This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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". - Dan
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |