Skip to content

Commit

Permalink
fix(gradle-inspector): Use ORT's fixed-up user home directory
Browse files Browse the repository at this point in the history
Align with the code from the "legacy" Gradle package manager
implementation.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Mar 15, 2024
1 parent 44041e7 commit 62bee82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class GradleInspector(
.setJvmArguments(jvmArgs)
.setStandardOutput(stdout)
.setStandardError(stderr)
.withArguments("--init-script", initScriptFile.path)
.withArguments("-Duser.home=${Os.userHomeDirectory}", "--init-script", initScriptFile.path)
.get()

if (stdout.size() > 0) {
Expand Down

0 comments on commit 62bee82

Please sign in to comment.