Browse Source

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" :/

user/chris/0.1.0/grsecurity
Christian Wiese 14 years ago
parent
commit
8c5dbca492
  1. 2
      java/sun-jre-142/java-sun-conf.in

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

Loading…
Cancel
Save