Branch: Tag:

2000-04-05

2000-04-05 20:13:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Use the sed in the path instead of /bin/sed .

Rev: server/etc/env.d/java.pike:1.3

13:   static string findjre()   {    string dir = -  (Process.popen("java -verbose 2>&1 | /bin/sed -n -e 's/^[^/]*//' -e " +  (Process.popen("java -verbose 2>&1 | sed -n -e 's/^[^/]*//' -e "    "'s:/lib/rt.jar .*$::' -e p -e q")||"")-"\n";    if(check_jre_dir(dir))    return dir;