Merge "Fix bootimg.cmdline to use ShellEscapeIncludingSpaces"

This commit is contained in:
Jooyung Han 2021-03-12 09:10:22 +00:00 committed by Gerrit Code Review
commit d0b3574072
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ func (b *bootimg) buildBootImage(ctx android.ModuleContext, vendor bool) android
if vendor {
flag = "--vendor_cmdline "
}
cmd.FlagWithArg(flag, "\""+proptools.ShellEscape(cmdline)+"\"")
cmd.FlagWithArg(flag, proptools.ShellEscapeIncludingSpaces(cmdline))
}
headerVersion := proptools.String(b.properties.Header_version)