set_java_env: fix symlink in JAVA_VM_DIR for Prefix
authorFabian Groffen <grobian@gentoo.org>
Tue, 11 Oct 2011 10:55:06 +0000 (10:55 +0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 11 Oct 2011 10:55:06 +0000 (10:55 +0000)
commitef8dbf457fd43703b2baa8c726f77c66c7fd4e13
tree7609bbc24d6a6324c5635ad9a2c820c815d93023
parent0897b8b8b70f9904a124ce248c8b22135d4f88bb
set_java_env: fix symlink in JAVA_VM_DIR for Prefix

java_home contains EPREFIX, hence, when used with helpers (dosym in this
case), the result gets $EPREFIX$EPREFIX/....  Strip EPREFIX from
java_home before using it with dosym.
eclass/java-vm-2.eclass