Skip to content

Commit a8b2ed5

Browse files
committed
simplify logic and prevent breaking absolute paths
Signed-off-by: Tony Germano <tony@germano.name>
1 parent f86f601 commit a8b2ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/basedir-includes/oieserver.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ if (-not $FinalJavaCmd) {
281281
$javaOpts = [System.Collections.Generic.List[string]]::new()
282282
$javaOpts.AddRange($script:VmOptions)
283283
$javaOpts.Add("-cp")
284-
$javaOpts.Add(('"{0}"' -f ($script:Classpath -split "[:;]" -join [System.IO.Path]::PathSeparator)))
284+
$javaOpts.Add('"{0}"' -f $script:Classpath)
285285
$javaOpts.Add("com.mirth.connect.server.launcher.MirthLauncher")
286286
$javaOpts.AddRange($AppArgs)
287287

0 commit comments

Comments
 (0)