Skip to content

Commit

Permalink
fix path bug (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
anjor authored Nov 13, 2024
1 parent 09451bb commit bca065f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd-car-split.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func newCmd_SplitCar() *cli.Command {
}
defer w.Flush()
for idx, c := range carFiles {
commP, paddedPieceSize, err := calcCommP(c.name)
commP, paddedPieceSize, err := calcCommP(filepath.Join(outputDir, c.name))
if err != nil {
return fmt.Errorf("failed to calculate commP: %w", err)
}
Expand Down

0 comments on commit bca065f

Please sign in to comment.