Don't use "echo -e" when creating prop file
We don't need to escape backslashes when generating the prop file. In addition, the "-e" option doesn't seem to be supported in some build environments. Bug: 178443594 Test: watch presubmit tests Change-Id: I167b25255a68b62a75b433f31c5e7c9d57f2579d
This commit is contained in:
parent
f17b07fc52
commit
3db465ddd7
|
@ -146,7 +146,7 @@ func (f *filesystem) buildPropFile(ctx android.ModuleContext) (propFile android.
|
|||
builder.Command().Text("rm").Flag("-rf").Output(propFile)
|
||||
for _, p := range props {
|
||||
builder.Command().
|
||||
Text("echo").Flag("-e").
|
||||
Text("echo").
|
||||
Flag(`"` + p.name + "=" + p.value + `"`).
|
||||
Text(">>").Output(propFile)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue