On 10:45 Fri 03 Jun     , Tormod Volden wrote:
> On Thu, Jun 2, 2011 at 2:32 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > normaly in shell we so
> > if [ "x$1" = "xnosubmodule" ]; then
> >
> > to compatible with old shell too
> 
> Yes, I have seen this construct a lot in old scripts, but it reduces
> readability a lot, and I think it should be avoided nowadays. Any
> users of such old shells are in much bigger trouble anyway and I would
> be surprised if a system stuck with such a shell can build openocd
> anyway :)
be surprise but a lot of operating system does not have new shell
specially UNIX so keep the code clean and compatible with every is a basic

Best Regards,
J.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to