From 8d884685bb3cf035e3375a584eaec925f376be60 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 19 Oct 2010 13:54:34 +0200 Subject: [PATCH] java-sun-conf.in: fixed determination of $javahome for the case the variable is used in other places of this ugly self-installing "source tar" :/ --- java/sun-jre-142/java-sun-conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/sun-jre-142/java-sun-conf.in b/java/sun-jre-142/java-sun-conf.in index 703b30be9..a96ea3bbb 100644 --- a/java/sun-jre-142/java-sun-conf.in +++ b/java/sun-jre-142/java-sun-conf.in @@ -65,7 +65,7 @@ java_preconf() { fi # Retrieve the original javahome name from the archive. - tempvar="`head -n100 ${java_srctar##*/} | grep javahome`" + tempvar="`head -n100 ${java_srctar##*/} | grep javahome=`" java_home_original=${tempvar/*=/} # Ready to unpack/install the archive.