public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-dev] [PATCH] java-utils-2.eclass: remove redundant / from CLASSPATH.
@ 2021-08-05 13:45 99% heroxbd
  0 siblings, 0 replies; 1+ results
From: heroxbd @ 2021-08-05 13:45 UTC (permalink / raw
  To: gentoo-dev; +Cc: Benda Xu

From: Benda Xu <heroxbd@gentoo.org>

JAVA_PKG_JARDEST always has a leading /.

Signed-off-by: Benda Xu <heroxbd@gentoo.org>
---
 eclass/java-utils-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.32.0



^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-08-05 13:45 99% [gentoo-dev] [PATCH] java-utils-2.eclass: remove redundant / from CLASSPATH heroxbd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox