]> Git Repo - J-u-boot.git/commit - tools/imx8m_image.sh
tools/imx8m_image.sh: remove bashism
authorBaruch Siach <[email protected]>
Wed, 2 Jan 2019 06:58:28 +0000 (08:58 +0200)
committerStefano Babic <[email protected]>
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 <[email protected]>
Tested-by: Chris Spencer <[email protected]>
tools/imx8m_image.sh
This page took 0.033876 seconds and 4 git commands to generate.