From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Date: Thu, 28 Feb 2019 06:23:30 +0200 Subject: [U-Boot] [PATCH 1/2] tools/imx8m_image.sh: remove bashism In-Reply-To: References: Message-ID: <87sgw85ynx.fsf@tarshish> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On Thu, Feb 28 2019, Fabio Estevam wrote: > On Wed, Jan 2, 2019 at 4:59 AM Baruch Siach 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 > > I don't see this patch applied yet. > > Do we have other solution? Stefano suggested an alternative in reply to the other patch: https://lists.denx.de/pipermail/u-boot/2019-January/356941.html baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -