Thread (1 message) 1 message, 1 author, 2012-12-12

Re: [PATCH REPOST] fdtget-runtest.sh: use printf instead of /bin/echo -e

From: David Gibson <hidden>
Date: 2012-12-12 23:06:21

On Tue, Dec 11, 2012 at 10:05:51AM -0700, Stephen Warren wrote:
From: Stephen Warren <redacted>

Not all /bin/echo implementations support the -e option. Instead, use
printf, which appears to be more widely available than /bin/echo -e.

See commit eaec1db "fdtget-runtest.sh: Fix failures when /bin/sh isn't
bash" for history.

I have tested this on Ubuntu 10.04 with /bin/sh pointing to both dash
and bash.

Reported-by: Mike Frysinger <redacted> # and implemented-by
Signed-off-by: Stephen Warren <redacted>
Acked-by: David Gibson <redacted>

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help