Re: [U-Boot] [PATCH] MAKEALL: fix kill_children for BSD hosts

2013-01-23 Thread Andreas Bießmann
On 23.01.2013 00:51, Andreas Bießmann wrote: > ps on BSD hosts (like OS X) do not provide the --no-headers switch nor > understand the AIX format descriptions. Make the call for ps portable and > filter > the relevant line from output (including the header) with sed. > Also switch from pgrep to ps

[U-Boot] [PATCH] MAKEALL: fix kill_children for BSD hosts

2013-01-22 Thread Andreas Bießmann
ps on BSD hosts (like OS X) do not provide the --no-headers switch nor understand the AIX format descriptions. Make the call for ps portable and filter the relevant line from output (including the header) with sed. Also switch from pgrep to ps to get the list of children and use the same mechanism