summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2014-03-30 08:46:35 +0200
committerFabian Groffen <grobian@gentoo.org>2014-03-30 08:46:35 +0200
commit556d952fd41029e17b19d5b659b68fdf080af673 (patch)
treed1eaa7ed0ccc0515ece49a438f46d22e827b7c3d /eclass/java-utils-2.eclass
parentre-added keywords (diff)
downloadprefix-556d952fd41029e17b19d5b659b68fdf080af673.tar.gz
prefix-556d952fd41029e17b19d5b659b68fdf080af673.tar.bz2
prefix-556d952fd41029e17b19d5b659b68fdf080af673.zip
Add absolute paths to classpathm by Steven Trogdon, bug #506122
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r--eclass/java-utils-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index f42cec6e24..5c7c2cd6de 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -335,7 +335,7 @@ java-pkg_regjar() {
# java-pkg_regjar ${ED}/opt/java/*.jar
# such call will fall into this case (-e ${jar}) and will
# record paths with ${D} in package.env
- java-pkg_append_ JAVA_PKG_CLASSPATH "${jar#${D}}"
+ java-pkg_append_ JAVA_PKG_CLASSPATH "${jar#${D%/}}"
else
if [[ ${jar} = *\** ]]; then
eerror "The argument ${jar} to ${FUNCNAME}"