summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-03-22 12:22:42 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-03-22 12:22:42 +0000
commit76f5d79ce85c1c54bc9974e07b12c1d58dd93e6c (patch)
tree73a463e25515d44f390e6e3c1b1253c57639745f /eclass
parentChanged to support jakarta-commons eclass and 'doc' USE flag. Keywords ~x86. (diff)
downloadgentoo-2-76f5d79ce85c1c54bc9974e07b12c1d58dd93e6c.tar.gz
gentoo-2-76f5d79ce85c1c54bc9974e07b12c1d58dd93e6c.tar.bz2
gentoo-2-76f5d79ce85c1c54bc9974e07b12c1d58dd93e6c.zip
Fix for jakarta-commons_src_install() dojar target.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/jakarta-commons.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/jakarta-commons.eclass b/eclass/jakarta-commons.eclass
index 950dfcf9ae75..ba3cad54b266 100644
--- a/eclass/jakarta-commons.eclass
+++ b/eclass/jakarta-commons.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/jakarta-commons.eclass,v 1.3 2003/03/22 11:48:56 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/jakarta-commons.eclass,v 1.4 2003/03/22 12:22:42 absinthe Exp $
inherit base
ECLASS=jakarta-commons
@@ -108,10 +108,10 @@ jakarta-commons_src_install() {
while [ "$1" ]; do
case $1 in
- dojar)
+ dojar)
debug-print-section dojar
- [ -f dist/*.jar ] && dojar dist/*.jar
- [ -f target/*.jar ] && dojar target/*.jar
+ [ -d dist/ ] && dojar dist/*.jar
+ [ -d target/ ] && dojar target/*.jar
;;
dohtml)
debug-print-section dohtml