From: Ben Soares Date: Sun, 14 Mar 2021 01:29:58 +0000 (+0000) Subject: JAL-3830 minor fix in powershell wrapper X-Git-Tag: Release_2_11_2_0~59 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e823fe6bdfe7c95484651536fb79bb1683b5a473;p=jalview.git JAL-3830 minor fix in powershell wrapper --- diff --git a/utils/getdown/jalviewc.ps1 b/utils/getdown/jalviewc.ps1 index d3bde6a..e8c33b6 100755 --- a/utils/getdown/jalviewc.ps1 +++ b/utils/getdown/jalviewc.ps1 @@ -28,7 +28,7 @@ if ( -not ( Test-Path -Path "${JAVA}" ) ) { $JAVA = $JAVAEXE } -$CLASSPATH = ( Select-String -Path "${GETDOWNTXT}" -AllMatches -Pattern "code\s*=\s*(.*)$" | foreach { Join-Path -Path $DIR -ChildPath $($_.Matches.Groups[1].Value ) } ) -join ( $IsWindows ? ";" : ":" ) +$CLASSPATH = ( Select-String -Path "${GETDOWNTXT}" -AllMatches -Pattern "code\s*=\s*(.*)$" | foreach { Join-Path -Path $APPDIR -ChildPath $($_.Matches.Groups[1].Value ) } ) -join ( $IsWindows ? ";" : ":" ) Invoke-Expression -Command "${JAVA} -cp '${CLASSPATH}' jalview.bin.Launcher $ARGS"