OSDN Git Service

builddeb: avoid invoking sub-shells where possible
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 25 Jan 2020 04:12:32 +0000 (13:12 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 28 Jan 2020 16:51:30 +0000 (01:51 +0900)
commit9a92eee38790c63b45b32876cb1967154f8b9ee5
tree1ca56261ac0b98f35f7204396a80f058e60793cc
parentf9a4711ebb248ad37c830b2715342ec60edb1330
builddeb: avoid invoking sub-shells where possible

The commands surrounded by ( ... ) is run in a sub-shell, but you do
not have to spawn a sub-shell for every single line.

Use just one ( ... ) for creating debian/hdrsrcfiles.

For tar, use -C option instead.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/builddeb