[meta-freescale] [meta-fsl-arm][PATCH] scripts/get-maintainer: use printf instead of "echo -e"

Mario Domenech Goulart mario at ossystems.com.br
Mon Apr 28 05:46:32 PDT 2014


Dash doesn't treat -e as a command line switch for echo.

Signed-off-by: Mario Domenech Goulart <mario at ossystems.com.br>
---
 scripts/get-maintainer |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/get-maintainer b/scripts/get-maintainer
index 9d1c0a6..071cdf6 100755
--- a/scripts/get-maintainer
+++ b/scripts/get-maintainer
@@ -73,9 +73,9 @@ for m in $machines; do
 
     if [ -n "$dump_mode" ]; then
 	    if [ -n "$maint" ]; then
-		    echo -e "${machine}\t${name}\t${maint}" >> $maintained
+		    printf "${machine}\t${name}\t${maint}\n" >> $maintained
 	    else
-		    echo -e "${machine}\t${name}" >> $orphan
+		    printf "${machine}\t${name}\n" >> $orphan
 	    fi
     else
 	    if [ -n "$maint" ]; then
-- 
1.7.10.4



More information about the meta-freescale mailing list