Re: [PATCH] Make MAKEALL a bash script

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

 



On 11:50 Mon 02 May     , Uwe Kleine-König wrote:
> MAKEALL uses the array PIPESTATUS which is a bash extension. A
> replacement isn't available in other common shells (e.g. dash which
> provides /bin/sh in Debian since at least Squeeze (6.0))
> 
> While at it, use . instead of source which is another bashism. Not
> necessary any more, but there is no need to use a bash extension if
> there is a generic way, too.
> 
> Reported-by: Belisko Marek <marek.belisko@xxxxxxxxx>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>

Dash have no capability equivalient as PIPESTATUS

when I write the script I try to do not do bashism but here no choice

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux