summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2021-01-26 14:08:16 +0900
committerJiyong Park <jiyong@google.com>2021-01-26 14:08:16 +0900
commit3db465ddd7ce84cfb0c1823fbae223aefa83b9a4 (patch)
treee32d26d4960a518316ca91368d9cdd19d72bd353 /filesystem/filesystem.go
parentf17b07fc52b49896d0a357f3deeba7177180907c (diff)
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
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index 5ef4a90b3..654617c2d 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -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)
}