mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
379b6ecf62
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-openjdk17
|
|
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
|