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.