Roxen.git / server / etc / env.d / java.pike

version» Context lines:

Roxen.git/server/etc/env.d/java.pike:48:    return;    }    write("\n => JREHOME="+jrehome+"\n");    env->set("JREHOME", jrehome);    arch = (Process.popen("(/usr/bin/uname -p||uname -p) 2>/dev/null")||"")-"\n";    if(arch=="unknown")    arch = (Process.popen("uname -m | sed -e 's/^i[4-9]86/i386/'")||"")-"\n";    if(arch == "")    arch = "_";    foreach(({arch+"/"+threads_type, arch+"/classic", arch}), string dir) { -  array(int) s = file_stat(jrehome+"/lib/"+dir); +  mixed s = file_stat(jrehome+"/lib/"+dir);    if(s && s[1]==-2)    env->append("LD_LIBRARY_PATH", jrehome+"/lib/"+dir);    }   }