diff --git a/sdk/update.go b/sdk/update.go index 522a8887d..da76fb41a 100644 --- a/sdk/update.go +++ b/sdk/update.go @@ -103,7 +103,7 @@ func (gf *generatedFile) build(pctx android.PackageContext, ctx android.BuilderC rb.Command(). Implicits(implicits). - Text("echo").Text(proptools.ShellEscape(content)). + Text("echo -n").Text(proptools.ShellEscape(content)). // convert \\n to \n Text("| sed 's/\\\\n/\\n/g' >").Output(gf.path) rb.Command().