Skip to content

Commit

Permalink
Merge pull request #11 from emmanuelbruno/main
Browse files Browse the repository at this point in the history
replaces hard coded file separator by a system property to support Unix.
  • Loading branch information
ghackenberg authored Nov 30, 2022
2 parents 7bf14af + 2be1cb8 commit 68c2511
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public final void execute() throws MojoExecutionException, MojoFailureException
}

protected final String getModulePath() {
return new File(System.getProperty("java.home"), "jmods").getAbsolutePath() + ";" + getRelativePath(modulePath);
return new File(System.getProperty("java.home"), "jmods").getAbsolutePath() + System.getProperty("path.separator") + getRelativePath(modulePath);
}

protected final String getRelativePath(File file) {
Expand Down

0 comments on commit 68c2511

Please sign in to comment.