diff --git a/provenance/provenance_singleton.go b/provenance/provenance_singleton.go index 5d27c0cf4..97345afc3 100644 --- a/provenance/provenance_singleton.go +++ b/provenance/provenance_singleton.go @@ -38,7 +38,9 @@ var ( Command: `rm -rf $out && ` + `echo "# proto-file: build/soong/provenance/proto/provenance_metadata.proto" > $out && ` + `echo "# proto-message: ProvenanceMetaDataList" >> $out && ` + - `for file in $in; do echo '' >> $out; echo 'metadata {' | cat - $$file | grep -Ev "^#.*|^$$" >> $out; echo '}' >> $out; done`, + `cat $out.rsp | tr ' ' '\n' | while read -r file || [ -n "$$file" ]; do echo '' >> $out; echo 'metadata {' | cat - $$file | grep -Ev "^#.*|^$$" >> $out; echo '}' >> $out; done`, + Rspfile: `$out.rsp`, + RspfileContent: `$in`, }) )