git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6bcc1d2
)
JAL-3830 minor fix in powershell wrapper
author
Ben Soares
<b.soares@dundee.ac.uk>
Sun, 14 Mar 2021 01:29:58 +0000
(
01:29
+0000)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Sun, 14 Mar 2021 01:29:58 +0000
(
01:29
+0000)
utils/getdown/jalviewc.ps1
patch
|
blob
|
history
diff --git
a/utils/getdown/jalviewc.ps1
b/utils/getdown/jalviewc.ps1
index
d3bde6a
..
e8c33b6
100755
(executable)
--- a/
utils/getdown/jalviewc.ps1
+++ b/
utils/getdown/jalviewc.ps1
@@
-28,7
+28,7
@@
if ( -not ( Test-Path -Path "${JAVA}" ) ) {
$JAVA = $JAVAEXE
}
$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"
Invoke-Expression -Command "${JAVA} -cp '${CLASSPATH}' jalview.bin.Launcher $ARGS"