summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-08-03 19:07:21 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-08-03 19:07:21 +0000
commitee2dd42f3442805b1fe546a51b60f838c5f86d06 (patch)
tree4a174eb2528c6092fcca621d3c6e7955315c3708 /eclass/java-pkg.eclass
parentStable on alpha. (diff)
downloadgentoo-2-ee2dd42f3442805b1fe546a51b60f838c5f86d06.tar.gz
gentoo-2-ee2dd42f3442805b1fe546a51b60f838c5f86d06.tar.bz2
gentoo-2-ee2dd42f3442805b1fe546a51b60f838c5f86d06.zip
dosrc: only accept java files
Diffstat (limited to 'eclass/java-pkg.eclass')
-rw-r--r--eclass/java-pkg.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-pkg.eclass b/eclass/java-pkg.eclass
index 971bfbf075cb..069a835d5a5a 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.27 2005/07/20 11:05:55 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.28 2005/08/03 19:07:21 axxo Exp $
pkglistpath="${T}/java-pkg-list"
@@ -352,7 +352,7 @@ java-pkg_dosrc() {
local startdir=$(pwd)
for x in ${@}; do
cd $(dirname ${x})
- zip -q -r ${T}/${PN}-src.zip $(basename ${x}) || die "zip failed"
+ zip -q -r ${T}/${PN}-src.zip $(basename ${x}) -i '*.java' || die "zip failed"
cd ${startdir}
done