Skip to content

Commit

Permalink
[backend] SLSA.pm copy the correct provenance file
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Apr 29, 2022
1 parent 0aa6d2b commit 78e9071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/BSRepServer/SLSA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ sub link_binary {
unlink($tmp);
next unless link("$reporoot/$prpa/$packid/$ent->{'filename'}", $tmp);
unlink("$tmp.prov");
link("$reporoot/$prpa/$packid/_slsa_provenance_stmt.json", "$tmp.prov");
link("$reporoot/$prpa/$packid/_slsa_provenance.json", "$tmp.prov");
return 1 if sha256file($tmp) eq $digest;
unlink($tmp);
unlink("$tmp.prov");
Expand Down

0 comments on commit 78e9071

Please sign in to comment.