On 07/03/19 16:58, Fabio Estevam wrote: > Hi Stefano, > > On Thu, Mar 7, 2019 at 6:33 AM Stefano Babic <sba...@denx.de> wrote: > >> I guess I never fight with some issues (not only with U-Boot) because I >> replace dash with bash on all my debian-like hosts. Anyway, I was not >> very happy with the patch, using "=" in comparison is something that >> hurts... > > What about this? > > --- a/tools/imx8m_image.sh > +++ b/tools/imx8m_image.sh > @@ -1,4 +1,4 @@ > -#!/bin/sh > +#!/bin/bash > # SPDX-License-Identifier: GPL-2.0+ > # > # script to check whether the file exists in imximage.cfg for i.MX8M >
I guess this makes me happy, but not all people that do not want to run bash (else we had no problem). Generally, changing the shebang is not the best solution...I have suggested to rework the script to drop that line, but I am now in a custom project and I cannot check this issue soon. Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot