Add NinjaAndShellEscapeIncludingSpaces
Bug: 235333302 Bug: 240342946 Test: m droid dist Change-Id: Ic52fbdb64042148d851403b4afd2dd5392282f77 Merged-in: Ic52fbdb64042148d851403b4afd2dd5392282f77
This commit is contained in:
parent
bb076fdcc3
commit
7968c52625
1 changed files with 4 additions and 0 deletions
|
@ -122,4 +122,8 @@ func NinjaAndShellEscape(s string) string {
|
|||
return ShellEscape(NinjaEscape(s))
|
||||
}
|
||||
|
||||
func NinjaAndShellEscapeIncludingSpaces(s string) string {
|
||||
return ShellEscapeIncludingSpaces(NinjaEscape(s))
|
||||
}
|
||||
|
||||
var singleQuoteReplacer = strings.NewReplacer(`'`, `'\''`)
|
||||
|
|
Loading…
Reference in a new issue