summaryrefslogtreecommitdiff
path: root/provenance/provenance_singleton.go
diff options
context:
space:
mode:
Diffstat (limited to 'provenance/provenance_singleton.go')
-rw-r--r--provenance/provenance_singleton.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/provenance/provenance_singleton.go b/provenance/provenance_singleton.go
index e49f3d4f3..d1cbd8f42 100644
--- a/provenance/provenance_singleton.go
+++ b/provenance/provenance_singleton.go
@@ -36,7 +36,8 @@ var (
mergeProvenanceMetaData = pctx.AndroidStaticRule("mergeProvenanceMetaData",
blueprint.RuleParams{
Command: `rm -rf $out $out.temp && ` +
- `echo -e "# proto-file: build/soong/provenance/proto/provenance_metadata.proto\n# proto-message: ProvenanceMetaDataList" > $out && ` +
+ `echo "# proto-file: build/soong/provenance/proto/provenance_metadata.proto" > $out && ` +
+ `echo "# proto-message: ProvenanceMetaDataList" >> $out && ` +
`touch $out.temp && cat $out.temp $in | grep -v "^#.*" >> $out && rm -rf $out.temp`,
})
)