Skip to content

Commit

Permalink
Support directories with spaces (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Mar 9, 2023
1 parent 9fef584 commit cb9c674
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private void setInsaneHookProperty() throws MojoExecutionException {

Path insaneHook = getInsaneHook(wrap(jth), patchModuleDir.toPath());

String argLine = String.format("--patch-module=java.base=%s --add-exports=java.base/org.netbeans.insane.hook=ALL-UNNAMED", insaneHook);
String argLine = String.format("--patch-module='java.base=%s' --add-exports=java.base/org.netbeans.insane.hook=ALL-UNNAMED", insaneHook);
getLog().info("Setting jenkins.insaneHook to " + argLine);
project.getProperties().setProperty("jenkins.insaneHook", argLine);
}
Expand Down

0 comments on commit cb9c674

Please sign in to comment.