summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2008-01-14 16:42:26 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2008-01-14 16:42:26 +0000
commit2ba833c888204b3b52e29ee163950c8cdecc7c0e (patch)
tree4a8047b8d88f3e97b4c49e0e073ae30741b8ebc0 /eclass/java-osgi.eclass
parentAdd pkgconfig dependency for the Evil Compile Person <bugs@dev.gentooexperime... (diff)
downloadgentoo-2-2ba833c888204b3b52e29ee163950c8cdecc7c0e.tar.gz
gentoo-2-2ba833c888204b3b52e29ee163950c8cdecc7c0e.tar.bz2
gentoo-2-2ba833c888204b3b52e29ee163950c8cdecc7c0e.zip
Fixed java-osgi (bug #205768).
Diffstat (limited to 'eclass/java-osgi.eclass')
-rw-r--r--eclass/java-osgi.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/java-osgi.eclass b/eclass/java-osgi.eclass
index 71faf8fd12cb..14873f5a606f 100644
--- a/eclass/java-osgi.eclass
+++ b/eclass/java-osgi.eclass
@@ -5,7 +5,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-osgi.eclass,v 1.2 2008/01/10 20:12:12 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-osgi.eclass,v 1.3 2008/01/14 16:42:26 elvanor Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
@@ -120,7 +120,7 @@ _java-osgi_makejar() {
# It will call java-pkg_dojar at the end.
#
# @example
-# java-osgi_dojar "dist/${PN}.jar" "com.jcraft.jsch" "com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true" "JSch"
+# java-osgi_dojar "dist/${PN}.jar" "com.jcraft.jsch" "JSch" "com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true"
#
# @param $1 - name of jar to repackage with OSGi
# @param $2 - bundle symbolic name
@@ -162,7 +162,7 @@ java-osgi_newjar() {
local jarName="$(basename $1)"
if (( ${#} > 4 )); then
- _java-osgi_makejar "${1}" "${3}" "${4}"
+ _java-osgi_makejar "${1}" "${3}" "${4}" "${5}"
java-pkg_newjar "${_OSGI_T}/osgi/${jarName}" "${2}"
else
_java-osgi_makejar "$@"