[U-Boot] [PATCH 1/2] tools/imx8m_image.sh: remove bashism
Christopher Spencer
Christopher.Spencer at sea.co.uk
Thu Jan 3 13:41:39 UTC 2019
On Wed, 2 Jan 2019 at 07:00, Baruch Siach <baruch at tkos.co.il> wrote:
> 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 at tkos.co.il>
Tested-by: Chris Spencer <christopher.spencer at sea.co.uk>
Thanks,
Chris
Disclaimer:
This email has been scanned for all known viruses by the MessageLabs Email Security System.
The contents of this email (including any attachments) are intended for the use of the mail addressee(s) shown, hence is private and in addition may include commercially sensitive information. If you are not the intended recipient of this email any disclosure, copying, distribution or use of its contents is strictly prohibited. You should notify the sender immediately and then delete it (including any attachments) from your system.
The information contained in or attached to this message may also be subject to the export control laws and regulations of the United Kingdom and the United States. This specifically includes, but is not limited to, the Arms Export Control Act (22 U.S.C. 2751-2794) and the International Traffic in Arms Regulation (22 C.F.R 120-130) as well as the Export Administration Act (50 U.S.C. App. 2401-2420), the Export Administration Regulation (15 C.F.R. 730-774) and the UK Export Control Act 2002.
Please help out the environment by only printing this e-mail if absolutely necessary - Thank you.
SEA is the brand name of Systems Engineering & Assessment Ltd (registered office: Beckington Castle, 17 Castle Corner, Beckington, Frome, Somerset, BA11 6TA, UK - company number 02302168).
More information about the U-Boot
mailing list