Browse Source

java-sun-conf.in: ugly fix to determine 'javahome' variable from the even more ugly binary distributions of Sun's Java crap

user/chris/test/early-mdev
Christian Wiese 15 years ago committed by Christian Wiese
parent
commit
8a6382756e
  1. 4
      java/sun-jre-142/java-sun-conf.in

4
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.

Loading…
Cancel
Save