]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools/imx8m_image.sh: remove bashism
authorBaruch Siach <baruch@tkos.co.il>
Wed, 2 Jan 2019 06:58:28 +0000 (08:58 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 1 Apr 2019 15:52:37 +0000 (17:52 +0200)
commit8a0746dba0c78f297d9db8911acddb6f1ede6dbe
treedd63cb83f1249a50cf342c21696bdf19f4a64916
parent00102ae52055e294ac37ae1380f37620f4a8bb26
tools/imx8m_image.sh: remove bashism

Use a single '=' to test string equality for compatibility with non-bash
shells. Otherwise, if /bin/sh is dash, build fails:

./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator
./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator
./tools/imx8m_image.sh: 15: [: spl/u-boot-spl-ddr.bin: unexpected operator
./tools/imx8m_image.sh: 15: [: spl/u-boot-spl-ddr.bin: unexpected operator
WARNING './spl/u-boot-spl-ddr.bin' not found, resulting binary is not-functional

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Chris Spencer <christopher.spencer@sea.co.uk>
tools/imx8m_image.sh