[U-Boot] [PATCH v2] board/armltd/integrator/split_by_variant.sh: fix 'echo -n'

Wolfgang Denk wd at denx.de
Tue Oct 12 23:08:22 CEST 2010


Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,

In message <1285356041-95443-1-git-send-email-andreas.devel at googlemail.com> you wrote:
> 
> This patch fixes an error when running MAKEALL for ARM9.
> 
> On OS X /bin/sh uses builtin echo which does not utilise '-n' switch.
> GNU manual for builtins recomend to use here-document style to solve
> this portability issue.
> 
> This patch removes the usage of 'echo -n' and replace by here-document
> style or a oneline echo command.
> 
> Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
> CC: Peter Pearse <peter.pearse at arm.com>
> ---
> v1: first try, replace each occurrence of 'echo' by here-document
> v2: replace oneliners by single 'echo' as sugested by Mike
> 
>  board/armltd/integrator/split_by_variant.sh |  129 ++++++++++++---------------
>  1 files changed, 57 insertions(+), 72 deletions(-)

Applied to u-boot-arm, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Wait!  You have not been prepared!
	-- Mr. Atoz, "Tomorrow is Yesterday", stardate 3113.2


More information about the U-Boot mailing list