summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2021-08-05 21:35:52 +0800
committerBenda Xu <heroxbd@gentoo.org>2021-08-12 23:33:57 +0800
commit17cfe9453ba4e8862ffd296874c6fed7fc46a4b4 (patch)
treeb24b61501f5bb42a01d983736fe345c61ef4b549 /eclass/java-utils-2.eclass
parentdev-python/pyproject2setuppy: Stabilize 18 ALLARCHES, #807891 (diff)
downloadgentoo-17cfe9453ba4e8862ffd296874c6fed7fc46a4b4.tar.gz
gentoo-17cfe9453ba4e8862ffd296874c6fed7fc46a4b4.tar.bz2
gentoo-17cfe9453ba4e8862ffd296874c6fed7fc46a4b4.zip
java-utils-2.eclass: remove redundant / from CLASSPATH.
JAVA_PKG_JARDEST always has a leading /. Signed-off-by: Benda Xu <heroxbd@gentoo.org> Reference: https://archives.gentoo.org/gentoo-dev/message/96db539ae412aab36491987d4e424dd3
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 ed4951ac97b7..0e2ed2902842 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -373,7 +373,7 @@ java-pkg_dojar() {
insinto "${JAVA_PKG_JARDEST}"
doins "${jar}"
) || die "failed to install ${jar}"
- java-pkg_append_ JAVA_PKG_CLASSPATH "${EPREFIX}/${JAVA_PKG_JARDEST}/${jar_basename}"
+ java-pkg_append_ JAVA_PKG_CLASSPATH "${EPREFIX}${JAVA_PKG_JARDEST}/${jar_basename}"
debug-print "installed ${jar} to ${ED}${JAVA_PKG_JARDEST}"
# make a symlink to the original jar if it's symlink
else