From 24626f457c699c99c153d2417ea8467a3a0dc1e3 Mon Sep 17 00:00:00 2001 From: Dan Nelson <dnelson@emsphone.com> Date: Wed, 29 Mar 2000 10:06:52 -0600 Subject: [PATCH] Fixed hardcoded path to /bin/sed. Thanks to Dan Nelson <dnelson@emsphone.com>. Rev: src/modules/Java/configure.in:1.9 --- src/modules/Java/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Java/configure.in b/src/modules/Java/configure.in index cef4fbc413..97fa021676 100644 --- a/src/modules/Java/configure.in +++ b/src/modules/Java/configure.in @@ -67,7 +67,7 @@ if test "x$with_java" = xyes; then AC_CACHE_VAL(pike_cv_java_java_home, [ if test "x$JAVA_HOME" = x; then pike_cv_java_java_home=no - java_home_guess="`java -verbose 2>&1 | /bin/sed -n -e 's/^[[^/]]*//' -e 's:/lib/rt.jar .*$::' -e p -e q`" + java_home_guess="`java -verbose 2>&1 | sed -n -e 's/^[[^/]]*//' -e 's:/lib/rt.jar .*$::' -e p -e q`" for tmp_java_home in /usr/java /usr/local/java /usr/local/jdk* /usr/java*/jre /usr/local/java*/jre /usr/local/jdk*/jre /usr/local/jre* "$java_home_guess" "$pike_java_user_lib_directory"/..; do if test -d $tmp_java_home/.; then if ls "$tmp_java_home/lib/$pike_cv_java_arch/$pike_cv_java_threads_type"/libjvm* >/dev/null 2>&1 || \ -- GitLab