From e823fe6bdfe7c95484651536fb79bb1683b5a473 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Sun, 14 Mar 2021 01:29:58 +0000 Subject: [PATCH] JAL-3830 minor fix in powershell wrapper --- utils/getdown/jalviewc.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.7.10.2