Skip to content

Commit

Permalink
fix(sw360): Do not use a path as the temp dir infix
Browse files Browse the repository at this point in the history
The optional infix should be a string without path separators, so simply
omit it for simplicity.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth authored and fviernau committed Feb 15, 2024
1 parent 266d628 commit acb7fe6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class UploadResultToSw360Command : OrtCommand(
.orElseGet { createSw360Release(pkg, sw360ReleaseClient) }

if (attachSources) {
val tempDirectory = createOrtTempDir(pkg.id.toPath())
val tempDirectory = createOrtTempDir()
try {
// First, download the sources of the package into a source directory, whose parent directory
// is temporary.
Expand Down

0 comments on commit acb7fe6

Please sign in to comment.