From 8a6382756ec70ee2b7f6104dcc9a22ffe0ff42c4 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 16 Mar 2010 12:51:40 +0100 Subject: [PATCH] java-sun-conf.in: ugly fix to determine 'javahome' variable from the even more ugly binary distributions of Sun's Java crap --- java/sun-jre-142/java-sun-conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/sun-jre-142/java-sun-conf.in b/java/sun-jre-142/java-sun-conf.in index 820f4b84d..725686daf 100644 --- a/java/sun-jre-142/java-sun-conf.in +++ b/java/sun-jre-142/java-sun-conf.in @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../sun-jre-142/java-sun-conf.in -# Copyright (C) 2007 - 2008 The OpenSDE Project +# Copyright (C) 2007 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2005 Clifford Wolf # @@ -65,7 +65,7 @@ java_preconf() { fi # Retrieve the original javahome name from the archive. - tempvar="`head -n60 ${java_srctar##*/} | grep javahome`" + tempvar="`head -n100 ${java_srctar##*/} | grep javahome`" java_home_original=${tempvar/*=/} # Ready to unpack/install the archive.