mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
6575d99f88
Allow profile script to override jdk. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
10 lines
308 B
Tcsh
10 lines
308 B
Tcsh
#!/bin/csh
|
|
setenv JAVA_HOME /usr/lib%LIBDIRSUFFIX%/zulu-openjdk11
|
|
setenv MANPATH ${JAVA_HOME}/man:${MANPATH}
|
|
setenv PATH ${JAVA_HOME}/bin:${PATH}
|
|
|
|
if ($?LD_LIBRARY_PATH == 1) then
|
|
setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server:${LD_LIBRARY_PATH}
|
|
else
|
|
setenv LD_LIBRARY_PATH ${JAVA_HOME}/lib/server
|
|
endif
|