]> code.ossystems Code Review - meta-freescale.git/commitdiff
scripts/get-maintainer: use printf instead of "echo -e"
authorMario Domenech Goulart <mario@ossystems.com.br>
Mon, 28 Apr 2014 12:46:32 +0000 (09:46 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 28 Apr 2014 13:30:18 +0000 (10:30 -0300)
Dash doesn't treat -e as a command line switch for echo.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/scripts/get-maintainer

index 9d1c0a62729c0af64babdf509c9175318f7e66a4..071cdf60fcd6f11faafe604fcc3383ad93db745f 100755 (executable)
@@ -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