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

Bug#623356: live-build: be more careful with subshells



retitle 623356 be more careful with subshells
thanks

On 04/19/2011 04:38 PM, liandrosg wrote:
> In bash, and dash, the Grouping Commands builtin structure commands are "(list)" or "{list;}"
> The first of these executes the commands in a subshell.  The second form
>   does not fork another shell so is slightly more efficient.

{} as grouping is not posix compatible, therefore it should not be used
in live-build. do you know a posix-compliant way of fixing it?

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/



Reply to: