Correct path for removing old bazel artifacts

Test: mixed_libc.sh
Bug: 201767767
Change-Id: Ie34ac3a583dbefb6c4b79ea0756acef623116af7
This commit is contained in:
Liz Kammer
2021-10-01 10:33:12 -04:00
parent 1b5262bd69
commit d7d5b72e4e

View File

@@ -815,7 +815,7 @@ func (c *bazelSingleton) GenerateBuildActions(ctx SingletonContext) {
if len(buildStatement.OutputPaths) > 0 {
cmd.Text("rm -f")
for _, outputPath := range buildStatement.OutputPaths {
cmd.Text(PathForBazelOut(ctx, outputPath).String())
cmd.Text(outputPath)
}
cmd.Text("&&")
}