Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284101 - java-pkg_regjar in java-utils-2.eclass does not strip correctly ${D}
Summary: java-pkg_regjar in java-utils-2.eclass does not strip correctly ${D}
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 10:24 UTC by Justin Lecher (RETIRED)
Modified: 2009-09-08 10:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2009-09-08 10:24:43 UTC
It does:

java-pkg_append_ JAVA_PKG_CLASSPATH "${jar#${D}}"

As example 

java-pkg_regjar "/var/tmp/portage/foo/bar/image/usr/share/bar/lib/bazz.jar"

would result in

CLASSPATH="usr/share/bar/lib/bazz.jar"

A fix would be

java-pkg_append_ JAVA_PKG_CLASSPATH "${jar#${D%/}}"