summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-11-26 21:59:41 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-11-26 21:59:41 +0000
commit471d1fc6bef046d393d21c22b3de1ed08a1f3004 (patch)
tree8351adb8be8e0be62e934086fb8ede911ff6cbbe /eclass/java-pkg.eclass
parentAdd ~x86-fbsd keyword, fix the unpack function for bsdtar compatibility, use ... (diff)
downloadgentoo-2-471d1fc6bef046d393d21c22b3de1ed08a1f3004.tar.gz
gentoo-2-471d1fc6bef046d393d21c22b3de1ed08a1f3004.tar.bz2
gentoo-2-471d1fc6bef046d393d21c22b3de1ed08a1f3004.zip
Making the quote stripping global so that all quotes are removed. Thankfully java-config-1 and java-config-2 knew howto remove trailing quotes.
Diffstat (limited to 'eclass/java-pkg.eclass')
-rw-r--r--eclass/java-pkg.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/java-pkg.eclass b/eclass/java-pkg.eclass
index 09c7f2debf59..4fb9fd91fd90 100644
--- a/eclass/java-pkg.eclass
+++ b/eclass/java-pkg.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.46 2006/11/26 21:31:00 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.47 2006/11/26 21:59:41 betelgeuse Exp $
inherit multilib
@@ -262,11 +262,11 @@ java-pkg_dojar()
# the cause.
if [ -z "${cp_append}" ] ; then
cp_append=$(grep "CLASSPATH=" "${sharepath}/${i}/package.env" \
- | sed -e "s/CLASSPATH=//" -e 's/"//')
+ | sed -e "s/CLASSPATH=//" -e 's/"//g')
else
cp_append="${cp_append}:$(grep "CLASSPATH=" \
"${sharepath}/${i}/package.env" \
- | sed -e "s/CLASSPATH=//" -e 's/"//')"
+ | sed -e "s/CLASSPATH=//" -e 's/"//g')"
fi
else
debug-print "Error: Package ${i} not found."