From: Wolfgang Denk Date: Tue, 12 Oct 2010 23:08:22 +0200 Subject: [U-Boot] [PATCH v2] board/armltd/integrator/split_by_variant.sh: fix 'echo -n' In-Reply-To: <1285356041-95443-1-git-send-email-andreas.devel@googlemail.com> References: <201009241304.53817.vapier@gentoo.org> <1285356041-95443-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <20101012210822.A78E4151F66@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message <1285356041-95443-1-git-send-email-andreas.devel@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 > CC: Peter Pearse > --- > 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