Re: [PATCH v2 4/7] builddeb: avoid invoking sub-shells where possible

From: Ben Hutchings
Date: Tue Jan 21 2020 - 14:24:52 EST


On Thu, 2020-01-16 at 01:25 +0900, Masahiro Yamada wrote:
[...]
> -if is_enabled CONFIG_STACK_VALIDATION; then
> - echo tools/objtool/objtool >> debian/hdrobjfiles
> -fi
[...]
> +{
> + if is_enabled CONFIG_STACK_VALIDATION; then
> + find tools/objtool -type f -executable
> + fi
[...]

And this is still undoing part of patch 1.

Ben.

--
Ben Hutchings
If God had intended Man to program,
we'd have been born with serial I/O ports.


Attachment: signature.asc
Description: This is a digitally signed message part