]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/head_check: Fix shellcheck errors
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Aug 2021 06:36:02 +0000 (16:36 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 17 Aug 2021 12:52:02 +0000 (22:52 +1000)
commit4408aa0ae982fbc2821552ac3e8ec07754586d2d
tree1a40c10dcee6f91294f549032b0b4c69eb2921bc
parent502466e54eac1aea0012d657619a96429bcd7d00
powerpc/head_check: Fix shellcheck errors

Replace "cat file | grep pattern" with "grep pattern file", and quote a
few variables. Together that fixes all shellcheck errors.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210817125154.3369884-1-mpe@ellerman.id.au
arch/powerpc/tools/head_check.sh