Commit 975bbfaa authored by claes's avatar claes

Look also for jdk for $jdk_home

parent fec9a194
......@@ -32,6 +32,9 @@ export pwrp_web=$web_dir
export pwra_db=/usr/pwrp/adm/db
jdk=`eval ls /usr/local | grep ^jre`
if [ "$jdk" == "" ]; then
jdk=`eval ls /usr/local | grep ^jdk`
fi
export jdk_home=/usr/local/$jdk/bin
PATH=$PATH:$pwr_exe:$pwrp_exe:$jdk_home
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment